SolidJSS
SolidJSβ€’8mo agoβ€’
4 replies
EricRovell

How to reset a deep store?

I have some object within a store. Some filed inside of it has an array of objects. How can I reset the state properly?

Here is the demo: https://playground.solidjs.com/anonymous/17bdf18c-3b03-4a27-ab94-2c8a6a3a458d

I have notices some weird behavior: add new item, and press reset after.

Nor produce, nor reconcile helped me.

Am I doing something wrong?
Quickly discover what the solid compiler will generate from your JSX template
Was this page helpful?