MobX React Form Demo
https://foxhound87.github.io/mobx-react-form/demo.html
Run:
❯ npm install
❯ npm startand go to http://localhost:8888.
In order to link the demo code to the mobx-react-form repo, clone both the repos as follows:
❯ git clone -b master git@github.com:foxhound87/mobx-react-form.git mobx-react-form--master
❯ git clone -b master git@github.com:foxhound87/mobx-react-form-demo.git mobx-react-form-demo--masterthen we have different directories for each branch like this:
- mobx-react-form--master
- mobx-react-form-demo--master
and now create a symlink respectively into both directories:
❯ ln -s ../mobx-react-form-demo--master ./mobx-react-form--master/demo
❯ ln -s ../mobx-react-form--master ./mobx-react-form-demo--master/masterChange the code into src/form/_.extend.js enabling the ../../master/src dir:
// import MobxReactForm from 'mobx-react-form'; // eslint-disable-line // <<< COMMENT
// import MobxReactForm from '../../master/lib'; // load from build
import MobxReactForm from '../../master/src'; // load from source // <<< DECOMMENTthen Run in both mobx-react-form and mobx-react-form-demo repos:
❯ npm install
❯ npm start