Replies: 1 comment 10 replies
-
Without looking at the code, it's hard to tell. If I have to take a guess, you're using functional components and the re-render is wiping out your state. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there! I've created a function that renders a counter when I select a category. The problem is that when I create the functionality in the onChange prop, the functionality of the automatic selection of parents or the partial selection dissapears too
Here you can see a little video where the functionality shows up and how the automatic selection when click on parents dissapears. Also the partial selection when click on childrens dissapears too.
I would appreciate the help. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions