3 ms·
Can someone please compare both? Does the fact that Minizone is based on "async_hooks" make it more future proof? Less hacky?
by electrotype 8y ago
Can someone please compare both?
Does the fact that Minizone is based on "async_hooks" make it more future proof? Less hacky?
- gcommer 8y agoZone.js is an existing library to try and provide CLS in javascript. async_hooks is an experimental API being built in to node to allow this. The OP is a project implementing a zone.js-style API using async_hooks. Also see this PR on the original zone.js project where they are working to use this in the original library, but have hit many edge cases/issues: https://github.com/angular/zone.js/pull/795 https://github.com/angular/zone.js/pull/795