Getting ready

To implement the Airbnb React/JSX Style Guide, we need to install some packages, such as eslint, eslint-config-airbnb, eslint-plugin-babel, and eslint-plugin-react.

I don't like to force anyone to use a specific IDE, but I would like to recommend some of the best editors to work with React.

  • Atomhttps://atom.io
    • In my personal opinion, Atom is the best IDE for working with React. For this recipe, we are going to use Atom.
    • Pros:
      • MIT License (open source)
      • Easy to install and configure
      • Has a lot of plugins and themes
      • Works perfectly with React
      • Support for Mac, Linux, and Windows
      • You can use Nuclide to React Native (https://nuclide.io)
    • Cons:
      • It's slow compared with other IDEs (if you have 8 GB of RAM you should be fine) ...

Get React Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.