milomg
Issue with playground console errors on firefox
Interesting, this sounds like it might be a bug in https://github.com/liriliri/chobitsu or in Chrome Devtools itself. I'll check it out
2 replies
SolidJS: Manually using SSR with v8?
https://docs.solidjs.com/references/concepts/ssr/simple-client-fetching-ssr
https://www.solidjs.com/guides/server
15 replies
SolidJS: Manually using SSR with v8?
I believe the most reasonable approach (and what solid-start does) is
Use a build step to generate two bundles:
ssr bundle
client bundle with hydration
then, call the ssr bundle from phpv8, and also have php serve the client bundle
15 replies
D3 Force Graph in SolidJS with TypeScript
Doing it "in solid" can be as simple as just putting it in onMount with a ref (in solid is in quotes because you could use a function dom element as a solid component). Here's a d3 tree I wrote in solid a while ago: https://github.com/CM-Tech/solid-debugger/blob/main/src/graph.tsx a force directed graph is in the commit history of that project too
10 replies
Conditional rendering approach
It seems like you've discovered the consequences of keyed: the entire show component rerenders when your variable changes (which is likely not what you want). I'd recommend using something like option 1 with a few exclamation marks to help fix ts.
In a future version we're hoping to make a non keyed show component for ts
6 replies