Experiences latency with zustand #2465
Unanswered
alexander-densley
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@alexander-densley would you mind sharing you gist? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am creating a form and i wanted to clean up code by taking logic for each part of the form into it's own componenent as the form component was getting to be 400-500 lines, and so to fix this i made each element its own component. I then used zustand to store the data for each of these components. however, when i now type in these elements, the typing is slightly delayed. when i switch back tousing usestate in the big form, it's instant. i can share a gist with what i was doing if anyone wants to take alook. I imagine its my implementation and not the library itself, thanks
Beta Was this translation helpful? Give feedback.
All reactions