Structuring your App
Keeping things simple, we create a folder like state
to hold our stores.
Some notes:
index.ts
is the root store- contains all the stores
- is used for connecting components
todos.ts
and others are individual stores
Keeping things simple, we create a folder like state
to hold our stores.
Some notes:
index.ts
is the root storetodos.ts
and others are individual stores