SolidJS component prop not reactive to change in solid-query query data
Running into a case where a prop I'm passing to a component isn't reactive to changes in its computed function
If the pollQuery.data.options change the winningMealId rendered by the MealCard component doesn't update. I cloned the options array because calling sort was giving me an error saying stores can't be mutated directly (pollQuery is a tanstack/solid-query query). I'm assuming something is getting lost here or I'm approaching it wrong
I understand this issue is probably more solidjs than solid-query but wanted to also ask here in case anyone had any insight.
0 Replies