タグ

2019年9月20日のブックマーク (2件)

  • Getting Started With Material-UI For React (Material Design For React)

    This post has been published first on CodingTheSmartWay.com. Subscribe On YouTube | Live Demo | Code on GitHub Material Design is a design language developed in 2014 by Google and is very popular for web and mobile applications. Material Design is inspired by the physical world and its textures, including how they reflect light and cast shadows. Material surfaces reimagine the mediums of paper and

    Getting Started With Material-UI For React (Material Design For React)
    Kiske
    Kiske 2019/09/20
  • Reactのべからず集 - Qiita

    Reactは便利なライブラリですが、ライブラリの想定を外れる使い方をするとうまく動かないとか、進化が続いているのですでに古くなってしまった書き方とかが存在します。 ここでは、そのような、Reactでやるべきでない書き方についてまとめてみました。 ★★★★ この「★★★★」は、「守らないと正常動作しなくなる」レベルのものについて扱います。 JSXを使うファイルでReactを用意し忘れる JSXはReact.createElementに変換されますので、直接アクセスしているように見えなくても、名前空間内にReactが必要です。 eslint react/react-in-jsx-scope コンポーネント内部からpropを書き換える あくまでpropsは親から子へ渡されるものなので、子の側で書き換えることはReactの枠組みの想定外となります。 setState以外の手段でstateを書き換え

    Reactのべからず集 - Qiita
    Kiske
    Kiske 2019/09/20