Replies: 2 comments 5 replies
-
I think we'd need to see an example of it not working. It's probably lost reactivity somewhere or misunderstanding how tracking works. |
Beta Was this translation helpful? Give feedback.
4 replies
-
It helps to put your code between ``` |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently i am learning solid.js with a lot of libraries like rxjs, axios, urql, more...
i have created a counter with createMutable & the structure of the counter is like theses [ { id: 'gjgh4646', value: 1 } ] an array of objects.
there are functions that gets a value with its id & increment, decrement, delete the object in the array.
i used the component to loop over the array & display the value, increment & decrement buttons. but when i click increment & decrement buttons the value updates but the ui dont & when i try it with the map, it works!
why component dont update the ui, although the value of the counter is updating!
note i am using tailwindcss, typescript & nanoid( to get unique id & its string).
what do you suggests for these problem? thanks!
Beta Was this translation helpful? Give feedback.
All reactions