Closed vorg closed 1 year ago
Signal.dispatch generates junk every frame by calling Array.prototype.slice.call(arguments) which contributes to GC.
Array.prototype.slice.call(arguments)
Any real use case where they are still needed?
I have never used it so I am in favour of removing it. Nowadays if I needed to listen for property change I would probably use Proxy getter/setter.
TODO v4: remove the dependency when cleaning up components
Signal.dispatch generates junk every frame by calling
Array.prototype.slice.call(arguments)
which contributes to GC.Any real use case where they are still needed?