var
Binding events in a typesafe way with typescript?
I'm following the binding events (https://docs.solidjs.com/concepts/components/event-handlers#binding-events) section of the docs so solid can optimize my event handlers, but I'm not able to do this in a typesafe way. For example:
Is there any way to take advantage of Solid's event binding pattern while still retaining typesaftey?
1 replies
Struggling with load function and cache revaliation
Hey All,
I'm new to solid and am struggling with getting cache revalidation to work with a load function. I've tried to follow the docs as closely as I can, but my load function (and subsequent network request) never seems to get called again.
I'm trying to build a basic component that will refetch data filtered based on a selection the user makes:
props.data
comes from the load function for the component, which looks like this:
Any ideas on where I'm going wrong would be greatly appreciated ❤️10 replies