DEV Community

Discussion on: React Architecture for Enterprise Application

Collapse
 
ottimax profile image
Giuseppe Bianchino

I did a test with 3 components:

1) PublicRoutes
2) AdminRoutes (only auth confirmed)
3) StoreRoutes (only store route)

Each component is formed by a fragment with the various routes inside, this method does not work as the switch takes only the routes of the first component. How can I solve this malfunction?

Some comments have been hidden by the post's author - find out more