¿Cómo integrar Axios con Next 14 de manera eficiente? ¿Algún consejo o ejemplo práctico?

14 Replies, 905 Views

Wow, thanks so much, everyone! This is super helpful. I think I’m gonna go with creating a custom instance for Axios con Next 14 and try using it in API routes.

I’ll also check out `swr` and `react-query` for caching. Quick question though—anyone have tips on handling auth tokens with Axios in Next.js? Like, should I store them in cookies or something else?

Thanks again, y’all! 🙌

Messages In This Thread



Users browsing this thread: 1 Guest(s)