Skip to main content

Search

Items tagged with: webSockets


PS. The updated component render you’re seeing streamed to the browser in the previous screenshot is the code rendered by Kitten (showing the underlying HTMX internals, etc.)

The code you write in Kitten is considerably less complicated.

The attached screenshot is all the code in the simple counter example (all in one file, index.page.ts). To run it, you’d just run `kitten` in the directory that file is in and then hit https://localhost.

#SmallWeb #Kitten #web #dev #statefulComponents #streamingHTML #hypertext #webSockets


Very excited about the new stateful components model in Kitten¹ that I’m looking forward to releasing this week (finally) and the amount of visibility you can now get into the flow of your Kitten apps in the Kitten Interactive Shell (REPL)².

Since the new model is a breaking change (Kitten is prerelease) I’m in the middle of updating our own apps/sites and I still need to document everything. So it will take me a few days to do all that but then I’m very much looking forward to focussing on finishing up Catalyst and Yarn³ for launch this year.

It’s been a six year trek to reach what will essentially be the starting point of the Small Web :)

💕

PS. If you want to support our work, please see small-tech.org/fund-us/

¹ kitten.small-web.org
² kitten.small-web.org/tutorials…
³ ar.al/2024/06/24/small-web-com…

#SmallWeb #Kitten #web #dev #statefulComponents #streamingHTML #hypertext #webSockets