subframe7536
Explore posts from serversHelp with creating a builder pattern for main renderer
Here is my implemention https://github.com/solid-hooks/core/blob/main/src%2Fapp.ts
4 replies
Subscribe to patches for a store ?
use
createEffect(on(() => store.data.toBeWatched, listener))
or https://primitives.solidjs.community/package/deep#trackstore3 replies
how to`createStore` and using `createEffect` to persist without warning
well, I finally struggly solve it my self. According to https://github.com/solidjs-community/solid-primitives/blob/main/packages/context/src/index.ts, wrap
onMount
with a function and call it in createComponent
, and all works without warn2 replies