3 ms·
you call the action creator and dispatch its results to you redux store before rendering. For "arbitrary" routes, you design your application in a way that just
by faceyspacey 10y ago
you call the action creator and dispatch its results to you redux store before rendering. For "arbitrary" routes, you design your application in a way that just by the pathname, query parameters, etc, you know exactly what data to get for the whole component tree. ..Don't use a relative route.
- idbehold 10y ago> For "arbitrary" routes, you design your application in a way that just by the pathname, query parameters, etc, you know exactly what data to get for the whole component tree. That entirely defeats the purpose of an isomorphic/universal React application.
- deleted 10y ago[deleted]