Replies: 5 comments 1 reply
-
From the layout its only give an error like this: ![]() |
Beta Was this translation helpful? Give feedback.
-
Everybody dead here? :) |
Beta Was this translation helpful? Give feedback.
-
Their is a notFound method, it can be used with Now it depends on what your use-case is and how you want to handle it. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to do it like this, but it will produce a call of |
Beta Was this translation helpful? Give feedback.
-
Personally I have a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Ability to call notFound() from layout
Non-Goals
No response
Background
I'm using SWR in my layout and I would like to call
notFound()
directly when a called resource is not found.Proposal
notFound()
should works from layout too.Beta Was this translation helpful? Give feedback.
All reactions