SolidJSS
SolidJS3mo ago
9 replies
fewbar

createMutable/createStore with classes

I have a JS class with other classes being used inside its arrays etc.
I was very confused as to why the inner ones are not being wrapped by a proxy.
I found this https://github.com/solidjs/solid/discussions/1474

1) What is the purpose of this?
2) How can I have all my inner class instances tracked without wrapping every instance with a createStore explicitly? (also not in the constructor)
GitHub
I am a newer of solid, and I want to create a list of reactive items which every item is a object. I used "createSignal" but it can not track change in "For", so i used the &quo...
How to wrap the “class” into createSignal/Store · solidjs soli...
Was this page helpful?