purescript-halogen-nselect is not a new project, but I finally managed to put some documentation together.
The documentation itself is a demo of
purescript-halogen-custom-element, I can convert Halogen components to custom elements.
For example, I can convert
Example.Hello.component to a
<halogen-hello> custom element, then I can put
<halogen-hello> anywhere inside html or markdown file. And the halogen component will be rendered at that position.
It’s fun to use Halogen and custom elements (web components) together, in both directions: use custom element inside a Halogen component, and use Halogen component as a custom element. I will write more about it in the future.