Skip to content

Commit

Permalink
Add comment describing possible solution for flashing UI with redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed May 3, 2024
1 parent a79bebd commit 514c37b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/frameworks/nextjs/src/routing/decorator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export const RouterDecorator = (
...parameters.nextjs?.navigation,
}}
>
{/*
The next.js RedirectBoundary causes flashing UI when used client side.
Possible use the implementation of the PR: https://github.com/vercel/next.js/pull/49439
Or wait for next to solve this on their side.
*/}
<RedirectBoundary>
<Story />
</RedirectBoundary>
Expand Down

0 comments on commit 514c37b

Please sign in to comment.