Next.js FAQ Client components wrapping server component children in layout files | | Christof Brungräber | 260 days ago | | | |
Authentication patterns in Next.js | A summary of best practices and APIs | Christof Brungräber | 262 days ago | | | |
Gotchas of unstable_cache | - Use `unstable_cache()` if you don’t want to rerun time consuming function at every request on a lambda route (dynamically rendered route at request time)
- Cache Keys/`keyParts` are used to identify and differentiate cached function results.
- `unstable_cache` can still be invalidated just like how one invalidate cache in fetch calls.
- They are `unstable` for a reason and workarounds is still needed to achieve ideal behavior (see the gotchas) | Christof Brungräber | 267 days ago | | | |
Chain Multiple Middleware Functions in Next.Js 15 | The accompanying YouTube video | Christof Brungräber | 275 days ago | | | |
Next Compose Middleware | Library for readable and manageable Next.js middleware | Christof Brungräber | 276 days ago | | | |
Chaining or Combining Next.js Middleware | There isn't a lot of documentation or even examples around chaining middleware in Next.js and so this is a short PSA that describes the approach we took. | Christof Brungräber | 276 days ago | | | |
@next-safe/middleware | Strict Content-Security-Policy (CSP) for Next.js with composable middleware | Christof Brungräber | 276 days ago | | | |