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
P.S. now if there were a babel macro to annotate the purpose of selector, e.g. the variable name from const token_claims = useSelector(...) :wishful-thinking:
New Features
I would love it if I could see the values that
useSelector()
returns in the react dev tools, in the hooks section of the component details.Today I can get to the value, but it requires several clicks, and it's a bit unclear, as it's shown as 1 of 3
Ref
's:Arguably the returned value could large (hairy nested object, large string), thus, some heuristic is needed to truncate the representation.
Naive implementation is easy with
useDebugValue()
but the above is a concern.What is the new or updated feature that you are suggesting?
New
Why should this feature be included?
useState
What docs changes are needed to explain this?
Eh?
The text was updated successfully, but these errors were encountered: