Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

傻renderComponent with angular forms #34754

abishekram opened this issue Jan 13, 2020 · 1 comment

傻renderComponent with angular forms #34754

abishekram opened this issue Jan 13, 2020 · 1 comment


Copy link

@abishekram abishekram commented Jan 13, 2020

馃悶 bug report

In Angular 9,

Instead of bootstrapping module,


I am rendering components with


getting following error

Cannot inject Renderer2 when the application uses Renderer3!

TestFormCompositeComponent contains angular reactive form directives. Getting error on injecting directives.


This comment has been minimized.

Copy link

@pkozlowski-opensource pkozlowski-opensource commented Jan 13, 2020

renderComponent is not a public API but rather an experimental one that we might open up in the future (in the current or modified form). Please don't use this API for anything else then rough experiments (and expect changes to this API at any point in time).

I'm going to close this issue as you are using non-public API that doesn't support (and is not designed to support) your use case. Thnx for understanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can鈥檛 perform that action at this time.