Hacker News new | ask | show | jobs
by albertTJames 3274 days ago
I think I have a smaller one https://github.com/albertbuchard/promets-moi
1 comments

The parent one seems to handle more, nested properties and batching?
hmm not sure what batching means in this context but nested property works.
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