Routing with React (or an SPA for that matter) is one of the most bespoke things to implement in a project in my experience. No 2 app's I've worked on have routed the same way, and as it gets bigger the routing gets more difference.
Don't beat yourself up over this, it's just one of the things that comes with FE dev. In fact I've just finished up developing a new routing pattern for a large project, and seeing the fetch calls reduced and no screen lag feels pretty good. Used to hate routing, now I like it.
FE is quirky, like really quirky. Don't be surprised when you get stuck, celebrate when it clicks!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Routing with React (or an SPA for that matter) is one of the most bespoke things to implement in a project in my experience. No 2 app's I've worked on have routed the same way, and as it gets bigger the routing gets more difference.
Don't beat yourself up over this, it's just one of the things that comes with FE dev. In fact I've just finished up developing a new routing pattern for a large project, and seeing the fetch calls reduced and no screen lag feels pretty good. Used to hate routing, now I like it.
FE is quirky, like really quirky. Don't be surprised when you get stuck, celebrate when it clicks!