Wild
Explore posts from serversCreate one global store with multiple createResource
Hello,
I am a beginner programmer developing a small local app with Tauri and SolidStart.
In the past, I have already worked on a personal website with Nuxt/Vue/Pinia.
The data being exclusively stored on a local sqlite database, I am trying to load all the data from the start of the program execution, and intend to make it available to all components from a store.
How do I initialize my store within context with createResource ? my context is undefined
I've made sure the data fetching part works. I tried to wrap the AppContext.Provider with Suspense, my guess being the async is messing things up here. Thank you
3 replies