If you want to learn React.js you came into right place. We prepared set of practical exercises that will help you learn React.js from zero. There is no starting knowledge required. Only thing you need to know is JavaScript (of course).
You would need to complete given tasks. Prepared test would check if they were done correctly.
git clone [email protected]:arkency/reactjs_koans.git
npm run setup
- You need to edit files only in
exercises
directory koans
directory contains sources of all exercises.test
is for tests.src
is a contains files compiled fromexercises
build
contains sources launched in web browser version of Koans.
You can run webserver and see your changes live in your web browser:
- Run command
npm run start
- Visit http://localhost:8080/
- You should fill code in
exercises
directory and run tests to see if you did everything right. - You must do exercises in given order.
- Try to not peek at the tests files! They contain spoilers.
- To run tests, use
npm run test-es6
. To automatically run tests when your code changes, usenpm run watch
.
- React docs - it's a great source of in-depth information about React.
- Rails Meets React - book explaining how to use React.js for Ruby on Rails developers (20% off code: KOANS).
- Why keys are important in React - great reading explaining the reason of React's keys.
- Reactiflux. User group on Slack. You can meet there a lot of people using React. There's a channel for begineers
needhelp
.