News for hackers. Stuff that matters.

gianlucaguarini

Re:Smooth DOM View Transitions Made Easy with EnderView on Saturday November 01, 2025 @08:21AM (#45781086)
A lightweight TypeScript utility for managing View Transitions and CSS animations in modern browsers It provides a simple API to trigger animated transitions between DOM states, leveraging the View Transition API when available, and falling back gracefully otherwise
Re:Apple used Riot.js for their big sur help website on Sunday November 22, 2020 @05:25AM (#25176371)
Checking the source code of the campaign site I have noticed that they decided to use https://riot.js.org/. It would be nice to know who made this decison and why. That's a great news for Riot.js community
1. the chained methods 2. the composable API 3. the value wrapping 4. the mapping function called `run` 5. the support of any kind of generic value

but you are the expert here ;) can you please tell me what am I missing?

If you can't read and understand that code probably you can't either use jQuery ;)
The result of the chain is retained in the `value` property as described in the documentation. Mapping and composition are supported.
please check the readme file https://github.com/GianlucaGuarini/icaro#performance there it's explained
Here you can see some bench results comparing the most popular reactive javascript libs https://github.com/GianlucaGuarini/reactive-libs-bench icaro included
Well that's a fork of https://github.com/YuzuJS/setImmediate so it must be removed! Would you mind making a pull request?
you are absolutely right, map doesn't belong to the mutational methods. Fixed in v1.1.1 thank you for your feedback
ehy thanks for linking to your project it looks great! Regarding the batching strategy icaro smartly groups the object changes via setImmediate helping in case you need to change many properties on the same object for example:

obj.name = 'foo' obj.surname = 'bar'

in this case icaro will dispatch only one event optimizing the listeners to avoid unnecessary redundant events

now array methods dispatch as well in v1.1.0 I also thought it was weird thanks for your feedback anyway
Thanks for your feedback I have tried to fix some grammar and syntax errors. Please ping me in case you find it still confusing

Older »