New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree-Shakeable Providers Followup Work #22830

Open
alxhub opened this Issue Mar 16, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@alxhub
Contributor

alxhub commented Mar 16, 2018

Near term

  • Determine whether the Injector -> INJECTOR rewrite should happen in render2 mode (requires NgModuleRef and ComponentRef injectors to handle it)
  • Allow injection of root-scope tokens without a current injector, via inject().
  • Convert InjectableCompiler to the render3 function style compiler (compileInjectable).
  • Inheritance between injectables.
  • Unify inject with directiveInject

Longer term

  • Disallow render2-style providers in R3Injector by default. Have a Render2ProviderFeature which converts render2-style providers to render3-style providers.
  • Investigate supporting multi-providers in the same way.
  • convert as many Angular services as possible to be tree-shakeable.

@ngbot ngbot bot added this to the needsTriage milestone Mar 16, 2018

@ngbot ngbot bot modified the milestones: needsTriage, Backlog Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment