Table of Contents
- Use one Model for different endpoints and route
- How to properly unload the store when switching route
- Clone the repo
git clone https://github.com/scardinoandrea/learning-ember-store.git
- Install NPM packages
yarn install
- Run the project
ember s
- EmberData docs
- [Cannot free memory via unloadAll('model') if model has relationships #4938] (emberjs/data#4938)
- [EmberJS clean store when transition on different route] (https://stackoverflow.com/questions/30219891/emberjs-clean-store-when-transition-on-different-route)
- [How do I force unloadAll() to execute?] (https://discuss.emberjs.com/t/how-do-i-force-unloadall-to-execute/13754/1)
- ...a lot of other links that I lost on the way