squint

amiorin 2025-12-07T09:38:19.330159Z

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.

chromalchemy 2025-12-08T18:15:26.514499Z

not sure if related, but heres work using squint w datastart for “expressions” https://github.com/outskirtslabs/datastar-expressions

amiorin 2025-12-07T11:46:05.850139Z

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

borkdude 2025-12-07T11:48:08.418499Z

you don't have to use reagami, you could also use something else, it's just a demo :)

amiorin 2025-12-07T12:11:34.804179Z

I was thinking to try lit but I was overwhelmed. I'll try again later.

borkdude 2025-12-07T12:12:56.365259Z

did you see the lit examples on the squint website too?

borkdude 2025-12-07T12:13:03.290589Z

reagami is probably more fun though

amiorin 2025-12-07T12:16:37.503319Z

Yep, I discovered lit because of that example.