You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to wrap my head around this, so, I've split my model into AppModel that has
container
exposingContainerModel
Now in
ContainerModel
I export the typed hooksBut when I access it
The typing is ok, but state is the global store state - the
containersSearchByTerm
is insidestate.container.containersSearchByTerm
How can I have typed hook for
useStoreState
pointing tostate.container
?Beta Was this translation helpful? Give feedback.
All reactions