Published onMay 31, 2023Sending cookies with fetch in Next.js 13next.jsfetchnext.js-13The new Next.js 13 uses fetch in server components and I had trouble sending cookies with it. Here is a solution.
Published onOctober 28, 2022Using Directus with Next-Auth to handle authentication in your frontend.directusnext-authnext.jsWhen using Directus with a frontend in Next.js relying on Next-Auth for authentication, I have chosen to avoid directus sdk.
Published onOctober 26, 2022Using Directus js-sdk in a Next.js app with several useSWR calls.directusnext.jsuseswrBuilding a Next.js app with Directus is quite smooth. However, the integration with directus sdk was a little tricky, especially with multiple useSWR calls.
Published onOctober 25, 2022Binding Directus auth and Next.js middleware to protect your app.directusnext.jsmiddlewareProtecting part of a Next.js app is easy thanks to the middleware. I will show some custom logic.
Published onOctober 18, 2022A new born blog.next.jstailwindsmeYet, another blog to share some knowledge about programing and a little more.