Closed hannahhoward closed 8 years ago
Perfect! Though I wonder why not just use subjects instead of EventEmitters at this point? I'd be curious to see how that shakes out in the Angular 2 source.
I think I remember hearing about things moving to Subjects as well in Angular 2
Hey this is one possible strategy for keeping the build size down. NG2 now seems to use some 'next' version of RxJS which allows you to import Subject directly. This gets the minified build down to 65kb, including the needed parts of RxJS. Might be useful so the package is truly standalone.
Still not 24kb, but a lot better than 145kb