gianlucaguarini
gianlucaguarini on Hacker News
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
Re:Monadic Functional Control Flow Micro-Library for JavaScript/TypeSc...
on Friday May 22, 2020 @07:40AM (#23271019)
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?
Re:Monadic Functional Control Flow Micro-Library for JavaScript/TypeSc...
on Friday May 22, 2020 @05:56AM (#23270329)
If you can't read and understand that code probably you can't either use jQuery ;)
Re:Monadic Functional Control Flow Micro-Library for JavaScript/TypeSc...
on Friday May 22, 2020 @05:35AM (#23270206)
The result of the chain is retained in the `value` property as described in the documentation.
Mapping and composition are supported.
Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript
Writing a generative contemporary art bot for Instagram
I Got Ya – A Story of Croissants, Easter Eggs, a Keylogger, and IT Security
A pure functional isomorphic router based on streams
Riot.js 4 – Every revolution begins with a Riot.js first
Are AMP pages really faster than HTML?
Why you shouldn’t do a SPA website
Modern and tiny streams script using generators for browsers and Node.js
Rob – a projects generator written in Haskell
Fortytwo – interactive prompt helpers to pimp the UIs of your haskell programs
Ruit.js – functional tasks serialization mini script (0.3kb)
The performance cost of native JavaScript modules
A simple JavaScript dramas time tracker
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @12:58PM (#14683268)
please check the readme file https://github.com/GianlucaGuarini/icaro#performance there it's explained
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @11:52AM (#14683030)
Here you can see some bench results comparing the most popular reactive javascript libs https://github.com/GianlucaGuarini/reactive-libs-bench icaro included
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @11:24AM (#14682889)
Well that's a fork of https://github.com/YuzuJS/setImmediate so it must be removed! Would you mind making a pull request?
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @10:42AM (#14682671)
you are absolutely right, map doesn't belong to the mutational methods. Fixed in v1.1.1 thank you for your feedback
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @09:38AM (#14682428)
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
Re:Icaro – Smart Javascript object observer, ideal for batching DOM up...
on Sunday July 02, 2017 @09:33AM (#14682408)
now array methods dispatch as well in v1.1.0 I also thought it was weird thanks for your feedback anyway
Icaro – Smart Javascript object observer, ideal for batching DOM updates
Animore – 1kb script that will make your DOM state transitions smoother and easier
Looppa – a functional helper to simplify React.js loops
Re:An experienced Javascript developer’s account of learning React
on Saturday April 22, 2017 @06:34PM (#14175237)
Thanks for your feedback I have tried to fix some grammar and syntax errors. Please ping me in case you find it still confusing
Re:An experienced Javascript developer’s account of learning React
on Saturday April 22, 2017 @10:48AM (#14172777)