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
I'm trying to integrate tree-view example from react-redux with the library
only root element get data from Store
there is no any changes in Store - so leafs don't get data through listener
publish(state) is executed after root element is rendered - leafs are not created yet
After getting tree structure from store root node creates leafs at level 1 and at that step everything stops - created elements do not have access to Store state unless publish(state) is executed
The text was updated successfully, but these errors were encountered:
budarin
changed the title
useStore doesnt get state from store at first render
useStore doesnt get initial state from store at first render of a component
Sep 28, 2019
I'm trying to integrate tree-view example from react-redux with the library
only root element get data from Store
there is no any changes in Store - so leafs don't get data through listener
publish(state) is executed after root element is rendered - leafs are not created yet
After getting tree structure from store root node creates leafs at level 1 and at that step everything stops - created elements do not have access to Store state unless publish(state) is executed
The text was updated successfully, but these errors were encountered: