sindre
sindre
SSolidJS
Created by sindre on 1/28/2023 in #support
Component is called twice when using Suspense, createResource and solid router
Hi I have a component that uses createResource. When navigating to a route containing this component, it's called (reevaluated?) twice. Is this what is supposed to happen when using transitions (which the router is using)? Or is it a bug? Is there some documentation for how Suspense is supposed to work? I can try to create a self-contained example if that makes it easier to understand my issue 🙂
2 replies