Better HN
topnewbestaskshowjobs
Log inSign up

gianlucaguarini

219 karma · joined Jul 15, 2013 (13y ago) · 85 submissions

https://twitter.com/gianlucaguarini
Submissions

comment 1y ago · link · parent

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

2.

Smooth DOM View Transitions Made Easy with EnderView(github.com ↗)

2 points · by gianlucaguarini · 1y ago · 1 comment

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

If you can't read and understand that code probably you can't either use jQuery ;)

comment 6y ago · link · parent

The result of the chain is retained in the `value` property as described in the documentation. Mapping and composition are supported.

7.

Monadic Functional Control Flow Micro-Library for JavaScript/TypeScript(github.com ↗)

5 points · by gianlucaguarini · 6y ago · 7 comments

8.

Writing a generative contemporary art bot for Instagram(medium.com ↗)

1 points · by gianlucaguarini · 6y ago · discuss

9.

I Got Ya – A Story of Croissants, Easter Eggs, a Keylogger, and IT Security(medium.com ↗)

1 points · by gianlucaguarini · 7y ago · discuss

10.

A pure functional isomorphic router based on streams(github.com ↗)

1 points · by gianlucaguarini · 7y ago · discuss

11.

Riot.js 4 – Every revolution begins with a Riot.js first(medium.com ↗)

3 points · by gianlucaguarini · 7y ago · 2 comments

12.

Are AMP pages really faster than HTML?(medium.com ↗)

3 points · by gianlucaguarini · 8y ago · discuss

13.

Why you shouldn’t do a SPA website(medium.com ↗)

8 points · by gianlucaguarini · 8y ago · discuss

14.

Modern and tiny streams script using generators for browsers and Node.js(github.com ↗)

1 points · by gianlucaguarini · 8y ago · discuss

15.

Rob – a projects generator written in Haskell(github.com ↗)

1 points · by gianlucaguarini · 9y ago · discuss

16.

Fortytwo – interactive prompt helpers to pimp the UIs of your haskell programs(github.com ↗)

1 points · by gianlucaguarini · 9y ago · discuss

17.

Ruit.js – functional tasks serialization mini script (0.3kb)(github.com ↗)

1 points · by gianlucaguarini · 9y ago · discuss

18.

The performance cost of native JavaScript modules(github.com ↗)

2 points · by gianlucaguarini · 9y ago · discuss

19.

A simple JavaScript dramas time tracker(gianlucaguarini.com ↗)

1 points · by gianlucaguarini · 9y ago · discuss

comment 9y ago · link · parent

please check the readme file https://github.com/GianlucaGuarini/icaro#performance there it's explained

comment 9y ago · link · parent

Here you can see some bench results comparing the most popular reactive javascript libs https://github.com/GianlucaGuarini/reactive-libs-bench icaro included

comment 9y ago · link · parent

Well that's a fork of https://github.com/YuzuJS/setImmediate so it must be removed! Would you mind making a pull request?

comment 9y ago · link · parent

you are absolutely right, map doesn't belong to the mutational methods. Fixed in v1.1.1 thank you for your feedback

comment 9y ago · link · parent

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

comment 9y ago · link · parent

now array methods dispatch as well in v1.1.0 I also thought it was weird thanks for your feedback anyway

26.

Icaro – Smart Javascript object observer, ideal for batching DOM updates(github.com ↗)

58 points · by gianlucaguarini · 9y ago · 20 comments

27.

Animore – 1kb script that will make your DOM state transitions smoother and easier(github.com ↗)

1 points · by gianlucaguarini · 9y ago · discuss

28.

Looppa – a functional helper to simplify React.js loops(github.com ↗)

3 points · by gianlucaguarini · 9y ago · discuss

comment 9y ago · link · parent

Thanks for your feedback I have tried to fix some grammar and syntax errors. Please ping me in case you find it still confusing
123