Struggling to understand how i should declare nested stores
๐BeginnerโจReactivitySolid API
Hello everyone, I hope you're doing well.
In one of applications i'm making, i have a state which is stored in a Store, and i would like to pass certains fields of it into some components so they can modify it (not really a state and view model ik). That's why i'm trying to create nested stores which would link to the state.
But that doesn't work. I'm kinda confused because the documentation shows that nested stores should be possible (see the advanced paragraph at https://docs.solidjs.com/concepts/stores#stores), and i'm not doing crazy things, juste passing an object in the props.