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
it's worth noting the example is "pseudo-Typescript", as are a lot of our API references. It's enough to get the point across, while not being actual functional Typescript.
making sure that a name used is consistent across the example makes sense, but don't expect the full example to match our actual types :)
What version of React, ReactDOM/React Native, Redux, and React Redux are you using?
What is the current behavior?
The
useSelector()
example in the API Reference defines a type alias forSelectorFn
, but then uses an undefinedSelectorFunction
type in place ofSelectorFn
.What is the expected behavior?
The example should use the
SelectorFn
type that it defines.Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?
The text was updated successfully, but these errors were encountered: