Black Sheep Code

Articles tagged "nextjs":

Using cookies in React Server Components to avoid a flash the incorrect content.

Published:

We make use of NextJS's `cookies` function to access the cookies on the server side.

Migrating from Remix to NextJS

Published:

NextJS appears to well and truely established. These are the steps I followed to migrate from Remix 1.9.3 to Next 14.

How to publish a React component package, using NextJS as the compiler

Published:

Although your component library may not be making use of React Server Components and the like, it can be helpful to see how the component behaves in a NextJS context.

How to configure NextJS to proxy its requests

Published:

We may wish to proxy the requests NextJS makes, for example through a tool like mitmproxy in order to analyse traffic or generate test data.