-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] add "skipRender" option to push/replace without rendering immediately #130
Comments
Thanks for the suggestion! I'm inclined to not add this to Type Route itself right now but would be open to considering something to this effect if there's interest from others. Here's a potential work around you might consider using in the meantime: Don't use the built in |
hmm is it about changing if that is the case, would this be ok?:
adding conditions to
(or I have to add 'skipRender' flag to routeParam, which might mean a lot more work to get TS pass:
|
similar feature: vercel/next.js#48110
is it possible to add a
don't rerender
flag topush()
andreplace()
?eg:
background: I have a form that requires url path updates whenever input values change:
and page-routing is done like this:
with current
replace
andpush
function, there's no option to prevent re-render onPageRender
.(note that it's possible to keep pageViewModel alive, but requires a lot of work)
The text was updated successfully, but these errors were encountered: