Adrien KISSIE

Results 23 comments of Adrien KISSIE

I don't know where i've seen this, but i've heard that if you add the same key to the `` element everywhere you call it to prevent this. Something like...

I think for api routes, you should change the extension from `.tsx` to `.ts` because nextjs will interpret your file as a react component, whereas it is an api route.

I dis not word this issue correctly, it is about route groups like this : app —(root) ——page.tsx —layout.tsx And not anything else 🤦‍♂️. If you have an issue about...

It is because of [soft navigation](https://beta.nextjs.org/docs/routing/linking-and-navigating#soft-navigation), with the new layouts nextjs does soft navigation by default, when your page has not been rendered already and the user navigates to it...

Go to https://github.com/vercel/next.js/issues/42175 to follow the issue resolution

Seems to be fixed on the latest version thanks

@michaelhays I migrated my trpc apis to route handlers, and it was simple, you just have to use the `fetch` adapter instead of nextjs api routes adapter : 1. I...

@ansh It doesn't, what I did is just move the tRPC api endpoint from next api routes to route handlers.

Isn't `getToken` used for checking that the token is valid ? I think without it, you'll just validate that the token exists but not necessarily if it's valid right... ?