Hacker News new | past | comments | ask | show | jobs | submit login

I was using global stores but recently moved to @inject. I needed a way to reset my stores on logout. Hence now i create a root store and initialize rest of the stores.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: