SolidJSS
SolidJSβ€’3y agoβ€’
4 replies
phungleson

Reactive in case of dynamic data

Hey peeps, I have an object where it can be any random json.

Something like this, https://playground.solidjs.com/anonymous/8670f306-cea1-40d4-9a84-3dbc2caa305f

It looks like Solid will lose the object reactivity when changing from array to object, vice versa.

I wonder if there is a way to overcome this?
Quickly discover what the solid compiler will generate from your JSX template
Was this page helpful?