Last active
December 11, 2021 20:22
-
-
Save jasonleehodges/ae39f9605de9aecb84d5e33d7a4e7ea9 to your computer and use it in GitHub Desktop.
Anti-pattern of an Inline Selector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const Counter = () => { | |
const count = useSelector((state: RootState) => state.counter.value) | |
return ( | |
<div> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment