Cannot override defaultPendingComponent to disable pending state on specific routes
#5600
Unanswered
tomaszferens
asked this question in
Q&A
Replies: 1 comment
-
|
we dont have a way to opt out of the default pending component right now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When
defaultPendingComponentis set in the router configuration:There's no way to override it to have no pending component for specific routes. Setting
pendingComponent: undefineddoesn't work:My use case would be the ability to show pages only after full load (no pending state) on specific routes, while keeping a default pending component for others.
Maybe I missing some special symbol (e.g.,
NoPendingComponentorEmptyPendingComponent) that explicitly opts out of the pending component:?
This would distinguish between "use default" (undefined) and "use nothing" (explicit symbol).
Beta Was this translation helpful? Give feedback.
All reactions