halu
Explore posts from serversSOLVED: createLazyMemo Broken?
Not being updated after initial run:
https://playground.solidjs.com/anonymous/5bd22dcf-1313-41dc-8fe2-efff425c7def
Another example:
https://playground.solidjs.com/anonymous/c50c02a6-35e9-4b74-bd74-2b1414fda976
11 replies
SOLVED: Non-Reactive Memo for Reactive Values?
I wish to perform a memoized calculation on demand rather than optimistically.
Here we see createMemo running optimistically:
https://playground.solidjs.com/anonymous/63165594-60fe-4ff2-966f-620574dd5761
Here i've solved the problem by manually tracking the dirty state
and determining whether to recalc or just return at call time:
https://playground.solidjs.com/anonymous/21a6530b-632c-46df-80d6-48ddd75ba665
I'm fine with this solution, but i just wanted to check that i'm not missing anything obvious
13 replies
SOLVED: Trigger Side Effects on a Callbacks Dependency Updates
I'm connecting a live feed to solid and currently trying to apply a filter.
I filter the feed as it comes in, but if the filter function changes or a reactive value under its scope updates, I need to re-filter from scratch.
I'm not sure how to do this...
I'd prefer to not filter over the whole map for every insert, but idk how to detect those deep changes like "set_filter_user".
181 replies
Solid-Router: "named views" equivalent?
What would be the solid-router equivalent of vue-routers "named views"?
https://router.vuejs.org/guide/essentials/named-views
Found this, but idk that i want to use a 2 year abandoned repo https://github.com/SupertigerDev/solid-named-router
19 replies
Integrate External, Read-Only Data Source Into Reactive System
Suppose the following:
How do I get that external event to trigger DOM updates and recall the getter?
https://playground.solidjs.com/anonymous/c937bc30-3d80-432c-814b-956ee3b58efa
12 replies