Stabilize `forbidden()` and `unauthorized()` (#99689)
Moves the `forbidden()` and `unauthorized()` out of experimental and deprecate the feature flag (`authInterrupts`) that they were gated behind. One caveat with these APIs is that the `forbidden.ts`/`unauthorized.ts` boundaries are sent down eagerly as part of the normal page render. We plan to optimize this later so they are only rendered lazily. (It's the same optimization planned for error and not-found pages.) <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment