This ReactJS project demonstrates a simple element editor built with mobx. It's function is to showcase
- Reactive rendering of elements & states
- Basic example of handling the states of a rendered element via MobX State Management of objects & multi-dimentional arrays
- Creating & submitting new left card "pages" via appending new values into 2d pageList array
- Live rendering of text & colour change pre-submittion (See local render data in AppStore.js)
- Filtering keyed items for "re-rendering" of element state (title, sub title, text & background colour, etc)
Live show case (https://candiddisk.github.io/editor-mobx/)
Currently requires MobX-DevTools, so live demo does not allow for change page yet. Please install locally.
Refer to https://www.npmjs.com/get-npm
Refer to create-react-app
#Standalone app for Safari, IE etc.
$ npm install --global mobx-devtools
#Clone the repo w/
$ git clone https://github.com/MarkTajima101/editor-mobx-eg.git my-project
#Navigate to the generated directory & install dependencies w/
$ npm install
#Start the app w/
$npm start
Open http://localhost:3000 to view it in the browser.