Example for build a React.js framework from scratch.
HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
__tests__
.gitignore
README.md
index.html
package.json
react.js

README.md

How to use this?

Open index.html for example, checkout #step1-9 and let the test pass to complete the framework.

How to run test?

npm install jest

Steps:

  1. Let's create element!
  2. Let's create DOM!
  3. Let's create Components!
  4. Let's create class!
  5. Let's mount Components!
  6. Let's render!
  7. Let's getNode by ReactID!
  8. Let's capture event!
  9. Let's update!