3 ms·
I think I have a smaller one https://github.com/albertbuchard/promets-moi https://github.com/albertbuchard/promets-moi
by albertTJames 9y ago
I think I have a smaller one
https://github.com/albertbuchard/promets-moi https://github.com/albertbuchard/promets-moi
- foota 9y agoThe parent one seems to handle more, nested properties and batching?
- albertTJames 9y agohmm not sure what batching means in this context but nested property works.
- gianlucaguarini 9y agoehy 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