Y
Hacker News
new
|
ask
|
show
|
jobs
by
hesarenu
3369 days ago
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.