Immutability the Ember Way
ember install ember-iron
How do you mix DADU with immutability? Scope all state to its specific Object (route, controller, component) and then don't worry about it - its immutable. Pass properties and actions to modify those properties to child components as you normally would, the Ember Way!
Ember-Iron offers a global store for your application state and a set of patterns around updating that state. In development mode all state changes are logged with old and new states preserved, allowing you to inspect changes and debug more effectively.
Coming soon: Time-travel-debugging with Ember Inspector.
git clone <repository-url>cd ember-ironnpm install
npm run lint:jsnpm run lint:js -- --fix
ember test– Runs the test suite on the current Ember versionember test --server– Runs the test suite in "watch mode"npm test– Runsember try:eachto test your addon against multiple Ember versions
ember serve- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.