createStore not reactive
I have the following code:
When updating the questions[questionID].answer in handleInput, it does not trigger the createEffect nor the isChecked function. isChecked is used as a flag function for a classList attribute
2 Replies
Can you provide a reproduction in the Solid playground?
I figured it out. I had an array of objects, which was being shallow copied into the context. Had to do deep copying to make the reactivity work