8000 Observable Payload Reduction Plan · Issue #5283 · angular/angular · GitHub
[go: up one dir, main page]

Skip to content
Observable Payload Reduction Plan #5283
Closed
@jeffbcross

Description

@jeffbcross

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) or source::map(input => mapped) if we can have proposed JS function bind syntax.

Tasks

  • Export an RxJS Observable and Subject that only include map, 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0