How to create an effect that runs on page navigate
I think this should be fairly straightforward. How can I define a createEffect that runs each time navigation occurs?
3 Replies
you can subscribe to location signal I think
https://start.solidjs.com/api/useLocation
SolidStart Beta Documentation
SolidStart Beta Documentation
Early release documentation and resources for SolidStart Beta
Got it figured out. That's that did it ^
Also I think there is onBeforeLeave or something like this