Writing Scalable React Apps with the Component Folder Pattern
Donavon West
3.4K24

I’m using react router 4 and certain views have required query params as I need everything shareable vvia url. I use redux and the stateful container to create a default query if it’s not provided/incomplete. To update the query I use the redirect component… As it’s just a component should I pass it to the view file or should it be done in the index file?