初心者(ReactもJSもES6も)の書いた記事なので色々間違えていたりすると思います。そういうところは助言をいただけるとありがたいです。 学習として React のコードをES6(2015)で使えるようになった記法で書いてみることにしました。スタイルは AirbnbのReact/JSXスタイルガイド を参考にやろうと思います。 さらに、出力されるJSをbundle.jsとかいう感じでまとめたくて、 webpack を使いました。コードもある程度補正してもらいたいと思い、 ESLint も使ってみることにしました。 準備 まずは、各種ライブラリを入れたりします。React