Basic example on how to sync the state and the UI using Virtual DOM. It implements an API similar to React.
- Check out
src/index.jsto see an example of component. - Check out
src/component.jsto see the core of the framework.
- Install dependencies:
npm install - Build it:
npm run buildor watch if you want to make changes and rebuild automatically - Open
index.html