🥳 New Kitten release!
• Event routing within nested components is now more intuitive and logical.
e.g., a button on a form that was written into the slot of a layout component by a page. In this case, the event is routed to the page first, since the form was written into the slot by the page, whereas, previously, it would have been routed to the layout component.
Also, if the initial target doesn’t implement a handler for it, the event is now also delivered to the component around the element (in this case, the layout) and any other ancestors it might have.
• Components that `update()` themselves now retain the props and slot content from their last render. Again, this just means they work as they should now.
• Markdown pages now get linked anchor headings by default and you can turn the feature on for your own Markdown blocks in JavaScript pages by including the new headling-links attribute in your <markdown> tags in Kitten’s tagged template strings. e.g., kitten.html`<markdown heading-links>…</markdown>`
• New `preserve` attribute lets DOM elements opt out of morphs (e.g., when you want to retain the text entered into a text-field while morphing the rest of the page using Kitten’s Streaming HTML workflow).
• Miscellaneous bug fixes and improvements.
See the change log for the full list of changes including illustrative code samples:
https://codeberg.org/kitten/app/src/branch/main/CHANGELOG.md#2026-11-16
Also, I’ve reworked the Reference section of the Kitten web site so it’s no longer just one big dump of information. It’s now split into multiple pages, organised by section, and includes much nicer internal navigation:
https://kitten.small-web.org/reference/
You can install and play with Kitten from the Kitten web site:
Enjoy!
:kitten: 💕
#Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript #TypeScript #NodeJS
@aral Kitten (https://kitten.small-web.org) and SmallWeb are remarkable, such a good start and explanation for tools that are likely to shape how humans work together (as humans!!!)
Love it!!!
I'm working on something related, could be applied to that concept, still behind on R&D (https://caneka.org)
Caneka - Programming Language Runtime
Kitten: Home