🎉This is the V2 of the tutorial, major changes happened since the 2016 release. Check the Change Log!
You don't need to use this entire stack if you build a simple web page with a few JS interactions of course (a combination of Browserify/Webpack + Babel + jQuery is enough to be able to write ES6 code in different files), but if you want to build a web app that scales, and need help setting things up, this tutorial will work great for you.
A big chunk of the stack described in this tutorial uses React. If you are beginning and just want to learn React, create-react-app will get you up and running with a React environment very quickly with a pre-made configuration. I would for instance recommend this approach to someone who arrives in a team that's using React and needs to catch up with a learning playground. In this tutorial you won't use a pre-made configuration, because I want you to understand everything that's happening under the hood.
Code examples are available for each chapter, and you can run them all with
yarn && yarn start. I recommend writing everything from scratch yourself by following the step-by-step instructions though.
Works on Linux, macOS, and Windows.
Note: Since the tutorial was last edited in May 2017, a few libraries have slightly changed their APIs. 95% of the tutorial is still perfectly valid, but if you run into something weird, make sure to check out the open issues.
Table of contents
Coming up next
Setting up your editor (Atom first), MongoDB, Progressive Web App, E2E testing.
If you want to add your translation, please read the translation recommendations to get started!
- Bulgarian by mihailgaberov
- Chinese (simplified) by @yepbug
- French by Naomi Hauret
- Italian by Fabrizio Bertone - fbertone.it
- Polish by @mbiesiad
Check out the ongoing translations.
- Chinese (simplified) by @pd4d10
- Italian by Fabrizio Bertone
- Japanese by @takahashim
- Russian by React Theming
- Thai by MicroBenz