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've got /x route as the parent route which has Outlet and y & z are the children of it which fits in Outlet. i wanna share the state once and wanna get that in all the other children components.
have got more children routes, that's why i wanna get state in one place. ain't there a way in react-router?
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've got /x route as the parent route which has Outlet and y & z are the children of it which fits in Outlet. i wanna share the state once and wanna get that in all the other children components.
have got more children routes, that's why i wanna get state in one place. ain't there a way in react-router?
Beta Was this translation helpful? Give feedback.
All reactions