#kitten

8 posts · Last used 12d

Back to Timeline
@aral@mastodon.ar.al · Feb 27, 2026
🥳 New Kitten Release This one fixes a bug that you would have encountered had you had an asynchronous component (component with asynchronous render method) nested more than one-level deep within synchronous components. (Kitten’s html renderer transparently supports both synchronous and asynchronous render methods.) So, this (taken from my unit test), for example, works correctly now: ```js class AsynchronousOtherName extends KittenComponent { async html () { await new Promise(resolve => setTimeout(resolve, 10)) return kitten.html`Balkan` } } class SynchronousName extends KittenComponent { /* NOT async */ html () { return kitten.html`Aral <${AsynchronousOtherName.connectedTo(this)} />` } } class SynchronousTemplate extends KittenComponent { html ({ SLOT }) { return kitten.html`[Before slot]${SLOT}[After slot]` } } class MyPage extends KittenPage { html () { return kitten.html` <${SynchronousTemplate.connectedTo(this)}> This should render all at once after a short delay.

Hello, <${SynchronousName.connectedTo(this)} />

3
1
3
Boosted by Eugen Rochko @Gargron@mastodon.social
@Devijand@mastodon.social · Mar 22, 2026
592
0
188
@blackops@universeodon.com · Mar 06, 2026
0
0
0
In reply to
@aral__dup_4490@mastodon.ar.al · Mar 02, 2026
🥳 New Kitten Release I just reworked the fix for this to simplify the Kitten renderer (as this fix introduced a regression with components getting instantiated multiple times due to the fall-through logic between asynchronous and synchronous rendering). The renderer now treats every component render function as asynchronous, thereby avoiding the issue entirely. https://kitten.small-web.org Enjoy! 💕 #Kitten #KittenReleases #SmalWeb #SmallTech #web #dev #components #async #rendering
8
1
4
@GuerricHache@pixelfed.social · Feb 22, 2026
Cinnamon and Toast love each other like no two cats I've ever met. They're not closely related; Cinnamon was a rescue from California who passed through several shelters on his way north, and Toast is a year younger and was found starving with his siblings in a pipe in a farm in Langley. But as soon as we started fostering Toast and his siblings, Cinnamon became the perfect cat dad to them all, and Toast latched onto him and became obsessed. They're so happy together! #orangecat #gingercat #cat #kitten #petadoption #fosterfail
0
0
1
@HollyCo26588808__dup_31736@universeodon.com · Jan 30, 2026
A snowplow driver helped save a kitten that was stuck in a snowdrift in the aftermath of last weekend's major snowstorm. The kitten, now appropriately named Drift, was in rough shape, but he is on the road to recovery now https://www.10tv.com/article/news/local/odot-plow-driver-saves-kitten-from-snowdrift/530-8a60202a-666a-4ce0-be3f-7d22678b9953?utm_source=fark&utm_medium=website&utm_content=link&ICID=ref_fark #animals #cat #kitten #hero #Ohio
0
0
0
@HollyCo26588808__dup_31736@universeodon.com · Jan 30, 2026
Firefighters pull an apparently lifeless kitten from a burning house. Once outside, they used a combination of mouth to mouth and oxygen to help the kitten make a full recovery thanks to their extra efforts (w/photos) https://www.wbbjtv.com/2026/01/29/firefighters-rescue-lifeless-kitten-in-house-fire/?utm_source=fark&utm_medium=website&utm_content=link&ICID=ref_fark #animals #cat #kitten #rescue #heroes #Tennessee
0
0
0
@other_cat@piefed.zip in lemmyshitpost · Jan 05, 2026

Protect Me Plz

598
4
0

You've seen all posts