Feature Idea: Load & save params to localStorage as an alternative default on page load #606
-
So we have a route Here is an example of someone on reddit asking for help with the same thing: https://www.reddit.com/r/nextjs/comments/1cz4j87/help_with_storing_query_params_in_local_storage/ This should be fairly easy to work into using nuqs with the Happy to help out with a PR depending on what you think here :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
A thing that's been on the Roadmap for a while is supporting functions for the default value. This could help with this use-case, though it raises the question of when the function should run:
|
Beta Was this translation helpful? Give feedback.
-
+1 to this, Is is possible to store the
|
Beta Was this translation helpful? Give feedback.
A thing that's been on the Roadmap for a while is supporting functions for the default value.
This could help with this use-case, though it raises the question of when the function should run:
React.useState