Closed
Description
Two goals:
- Reduce bytes in the core of Angular
- Get back to our original Observable goal of relying more on functions than prototypes when composing Observable operators. i.e.
map.call(source, input => mapped)
orsource::map(input => mapped)
if we can have proposed JS function bind syntax.
Tasks
- Export an RxJS
Observable
andSubject
that only includemap
,filter
,flatMap
operators. - In API docs and Guides, show examples of importing and using more advanced operators from RxJS.
Later on, we can consider more things we can do to let users patch or override the observable provided by Angular, but that doesn't need to happen pre-beta.
This should achieve about a 75% reduction in the size of the Rx dependency, which is about 30KB when minified and gzipped.