Skip to content

Why Not Importing not Working right?? #3014

Answered by dai-shi
xeureka asked this question in Q&A
Discussion options

You must be logged in to vote

Because the first one creates "a new object" in every render. If you use useShallow, it's fine too.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xeureka
Comment options

Answer selected by xeureka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants