4 ms·
> Back-end routing is very solid. My experience is that front-end routing is complex and is hard to maintain. There doesn't seem to be anything inherently more
by bcrosby95 5y ago
> Back-end routing is very solid. My experience is that front-end routing is complex and is hard to maintain.
There doesn't seem to be anything inherently more complex about routing on the front end vs the back end. Why does it turn out to be messy when the back end isn't? What's keeping you from using the same patterns?
- debaserab2 5y agoIf you implement it on the frontend you lose all the builtin navigation behavior that the browser gives you natively when loading pages. You instead get to build all that behavior yourself in places where you think it should exist using your best judgment (things like deciding when to push to browser history state, for example, may be perceived as breaking the back button to many users if you haven't thought through your app's navigation hierarchy very carefully).
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]