reactjs_koans
v0.0.4
Published
React.js Koans
Downloads
20
Readme
React.js Koans
If you want to learn React.js you came to the right place. We prepared a set of practical exercises that will help you learn React.js from square one. The only thing you need to know is JavaScript.
The Koans are a set of tasks to complete. Prepared tests checks if they are done correctly.
Installation
Make sure you have Node.js (ver. > 4) and Python 2 installed.
git clone https://github.com/arkency/reactjs_koans.git
cd reactjs_koans
npm run setup
Koans structure
- Edit the files found in the
exercises
directory. - The
koans
directory contains the source of all the exercises.test
contains the tests. src
a contains files compiled fromexercises
.build
contains sources launched in the web browser version of Koans.
Start a local web server (optional)
You can run a webserver and see your changes live in your web browser:
- Run command
npm run start
- Visit http://localhost:8080/
Instructions
- Work on the code found in the
exercises
directory and run the tests to see if you did everything right. - You need to do the exercises in the given order.
- Try to not peek at the test files! They contain spoilers.
- To run the tests, use
npm run test
. To automatically run tests when your code changes, usenpm run watch
.
Join our newsletter
Join our React.js Kung Fu newsletter and receive free React.js lessons every now and then.
More than just Koans
For people finishing Koans, we prepared something to go further: the React by example book. In it, we explain how to create common and popular widgets like password-strength meter or credit card input.
For the price of the ebook, you get:
- Over 140 pages of React content. From fast introduction to React to example Todo app;
- 11 practical real-world examples;
- Repositories with code for most of the examples;
It's an early version of the book. It means some wording in book may change and there will be more examples later. All updates for the book are free.
You can use special 20% discount code: REACTKOANS. Grab your copy today or download a free chapter
Additional resources
- React docs - it's a great source of in-depth information about React.
- Why keys are important in React - great reading explaining the reason for React's keys.
- Reactiflux. User group on Slack. You can meet a lot of people using React there. There's a channel for beginners
needhelp
.
License
The project is licensed under the free MIT license. You can read more about it in the LICENSE file
About
React Koans is funded and maintained by Arkency. Check out our other open-source projects.
You can also hire us or read our blog.