3 ms·
My general lean here has been to use a library like redux-first-router (https://github.com/faceyspacey/redux-first-router https://github.com/faceyspacey/redux-f
by crooked-v 7y ago
My general lean here has been to use a library like redux-first-router (https://github.com/faceyspacey/redux-first-router https://github.com/faceyspacey/redux-first-router) to have this data lookup stuff happen based on routing and existing Redux state, and conditional rendering wrapping for specific components using that data (for example, https://github.com/acdlite/recompose/blob/master/docs/API.md#branch https://github.com/acdlite/recompose/blob/master/docs/API.md...).