ChrisThornham
Is My Understanding Of RouteSectionProps Correct?
You're right. The values are the same, but I don't think the load function knows anything about the route params when using
useParams
.
For example, in the example below, getUser
inside of createAsync
gets the correct value. But I don't think the load function has access to that value.
Am I right?
10 replies
Trouble With onCleanup()
That's at least how the docs suggest to do it: https://docs.solidjs.com/concepts/refs#refs
30 replies