Replies: 2 comments
-
I also expected this to be a feature but unfortunately atm its not and you have to manually handle setting default value via useEffect. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
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.
-
Following #842, I think a cool feature would be to update the URL with the
defaultValue
whenclearOnDefault
isfalse
(or by through some other option):would result in:
http://xyz.com?param=default
I think it would be useful since the default value could depend on many factors and thus be different from user to user, but if added to the URL it would always be shareable at any time.
Beta Was this translation helpful? Give feedback.
All reactions