Parallel Routes Error handling retry for only error segment. #75315
Replies: 1 comment 1 reply
-
Hope it will work, let me know Create a Retry Context Provider
Wrap the Parallel Route with the Retry Provider
Update the Error Boundary to Trigger Retries
The |
Beta Was this translation helpful? Give feedback.
-
Hi guys, im trying with the error boundary stuff in nextjs. I found that if i use the reset function without router.refresh() it wont retry my server component to re-render, unless i refresh my page. As the solution below, can work for normal page, but if i using Parallel Route, if one of the segment is encounter error, and how can i retry only that segment instead of the whole page?
Beta Was this translation helpful? Give feedback.
All reactions