#smalltech

4 posts · Last used 11d

Back to Timeline
ploum @ploum@mamot.fr · Aug 03, 2026
13
2
19
Aral Balkan @aral@mastodon.ar.al · Jul 30, 2026
Boosted by Elena Rossini 🌈 @_elena@mastodon.social
Hey folks, can you help me out with a little something: trying to come up with a good number of files limit for a file scan (for Kitten so you don’t hit heap memory limits if you run it from the wrong directory by mistake) and I’d love some statistics from real JavaScript/TypeScript Node.js projects of the number of files in them (excluding .git and node_modules). Would you be kind enough to run the following command in Terminal in your largest projects and let me know what number your get (along with a short description of the project): find . \( -name "node_modules" -o -name ".git" \) -prune -o -print | wc -l Thank you :) #Kitten #SmallWeb #SmallTech #NodeJS #web #dev #stats #helpWanted
3
3
16
Aral Balkan @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
Aral Balkan @aral__dup_4490@mastodon.ar.al · Mar 02, 2026
Replying to on mastodon.ar.al
🥳 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

You've seen all posts