useUserLocation Hook #3623
masonkieth
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering if it would be feasible to have hook for the current userLocation as an alternative to using the onUpdate prop to set state.
I'm needing to use the current location in a variety of functions and it seems like a hook might be cleaner than prop-drilling and/or useContext. Has this been considered, or would it even make sense to implement?
Beta Was this translation helpful? Give feedback.
All reactions