4 ms·
Hey, Query [1] creator here. The article raised some exciting challenges. With Query, we solve booth downsides mentioned in it. To keep things simple, we use Ev
by gcv 2y ago
Hey, Query [1] creator here. The article raised some exciting challenges. With Query, we solve booth downsides mentioned in it. To keep things simple, we use EventSource for live reloading [2] and JSX Server-Side Rendering [3] for those who want component reuse in the server. It's just JSX with some helpful extras. I'm happy to elaborate on the technical decisions if anyone's curious.
A couple of days ago, I wrote an article about it: https://dev.to/gc-victor/building-static-html-pages-with-jsx-server-side-rendering-5cbi https://dev.to/gc-victor/building-static-html-pages-with-jsx...
[1] https://qery.io https://qery.io
[2] https://github.com/gc-victor/query/tree/main/examples/minimal/src/pages/hot-reload https://github.com/gc-victor/query/tree/main/examples/minima...
[3] https://qery.io/docs/modules/function.html#jsx-server-side https://qery.io/docs/modules/function.html#jsx-server-side