Content
@
0 reply
0 recast
0 reaction
Glitch
@glitch
If you ever wonder why React is a library and not a framework (same goes for other frameworks I mean libraries). Here I'm injecting a Solid.js application inside a React button. Solid.js is only 8kb so I'm planning to experiment a bit with it as a framework agnostic approach for libraries 👀
1 reply
0 recast
2 reactions
Darryl Yeo 🛠️
@darrylyeo
That is cursed, haha. How are you syncing state across the component boundary?
1 reply
0 recast
1 reaction
Glitch
@glitch
You could port signals into the useSyncExternalStore hook but haven't tried it. Web3-onboard uses Svelte btw, it just compiles everything and you can use it anywhere, so just trying the same approach but with Solid 😅
1 reply
0 recast
0 reaction