You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it's possible to specify a key with useFetcher. But how about exposing the key (even the generated one) as a property of the fetcher? This would make it possible to instanciate a fetcher from a parent, and pass the key to children so that they can use it as well. Currently we have to either pass the full fetcher instance, or use an explicit key.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, it's possible to specify a key with
useFetcher
. But how about exposing thekey
(even the generated one) as a property of the fetcher? This would make it possible to instanciate a fetcher from a parent, and pass the key to children so that they can use it as well. Currently we have to either pass the full fetcher instance, or use an explicit key.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions