goenning
Looks like solid-router doesn't like encoded forward slashes as params?
I have a route path like
/app/:name/view
and then the name might actually contain a forward slash, so i encode it with encodeURIComponent, but solid-router doesn't route it correct, it goes straight to 404.4 replies
reactive initialValue on createResource
is it possible to make initialValue react based on a signal? I have this:
Whenever the list of contexts change, it'll refetch the namespaces for that contexts. But the initialValue does not as it's evaluated once on render.
I want to build sort of a cache, so whenever the context changes, the list of namespaces will be whatever is cached (localstorage) and then it'll refresh shortly after.
12 replies