3 ms·
All this negative sentiment around the App Router like in this post made me really scared to adopt it. I've just been working with it for the past 2 months and
by sarreph 2y ago
All this negative sentiment around the App Router like in this post made me really scared to adopt it.
I've just been working with it for the past 2 months and absolutely love it. The biggest reason being the ability call functions directly from server- or client-side code! You basically only need to write API endpoints now for externally-facing services. Saves so much time and boilerplate...
Yes it is more complex than Pages Router. And while I'm a staunch advocate for simplicity where possible, I do think the tradeoff is worth it for new projects. It just takes a bit getting used to. The negativity feels a bit like hooks all over again tbh...