Here is what you need to know about dynamic components in Angular #70
Replies: 3 comments 9 replies
-
Hi i am trying to use the same but it's not working in production |
Beta Was this translation helpful? Give feedback.
-
I have tried the approach which you have suggested. But we are now getting an issue in production where CSP (Content Security Policy) is define Because internally compileModuleAndAllComponentsAsync is making use of new Function, which is blocked by our CSP rule - We are not suppose to use 'unsafe-eval' due to security reasons. Is there any other alternative ? |
Beta Was this translation helpful? Give feedback.
-
hey @maxkoretskyi really nice article on the topic but what about the design/performance of dynamic components versus using an |
Beta Was this translation helpful? Give feedback.
-
We start with the comparison of dynamic components functionality in Angular and AngularJS and then continue with main concepts that enable dynamic components to you an extensive overview of the dynamic components functionality in Angular.
Read the article here.
Beta Was this translation helpful? Give feedback.
All reactions