Hi all, I'd like to try to integrate hyperlith (datastar), vite, and squint. I'm following the https://vite.dev/guide/backend-integration#backend-integration The idea is to use vite and squint to develop web components from scratch or from an existing react components and then use them with hyperlith. Any feedback is welcome.
not sure if related, but heres work using squint w datastart for “expressions” https://github.com/outskirtslabs/datastar-expressions
Thx @borkdude. I'm one step before that. I'm wiring caddy and vite together right now. caddy will serve the HTML and vite the app.js with HMR. Next step is to figure out how to mix reagami and datastar. I have found a similar for react example: https://github.com/biotz/datastar-react-interop-demo
you don't have to use reagami, you could also use something else, it's just a demo :)
I was thinking to try lit but I was overwhelmed. I'll try again later.
did you see the lit examples on the squint website too?
reagami is probably more fun though
Yep, I discovered lit because of that example.