Fork me on GitHub
#reagent
<
2019-02-20
>
David Pham10:02:10

Hello everyone 🙂 Anyone could explain me where and when we should favor track vs reactions? I read the documentation of the reagent "Managing State, ratom [...]", and play around with it a few hours, but to my observation reactions are also cached, and when using cursors they are called the same number of time. I am really sorry if the question seems trivial.

abdullahibra11:02:47

i'm trying to iterate over a table body data with checkbox action in one of the row fields, but i got only the latest element from the list:

abdullahibra11:02:18

when i try to change checkbox for each one i always get the same result which is last id 3

abdullahibra11:02:45

how can i figure it out?

manutter5112:02:48

One thing that might be causing you a problem is line 8 — you’re giving all checkboxes the same ID.

abdullahibra12:02:07

perfect thanks, actually it's