How to make an Isomorphic Component Library?

What's the proper way to deploy a SolidJS component library with isomorphic rendering?
3 Replies
Alex Lohr
Alex Lohr2y ago
You need to export a "solid" condition that exposes the JSX code so it can be included in both scenarios.
ɔnՊþn1🌚ⓒʞ AKA Purpl
can you provide an example of this setup?
Alex Lohr
Alex Lohr2y ago
Some of the components still need some work to be fully isomorphic, but the setup works: https://github.com/atk/solid-blocks
GitHub
GitHub - atk/solid-blocks: UI building blocks for SolidJS.
UI building blocks for SolidJS. Contribute to atk/solid-blocks development by creating an account on GitHub.