The Power Component framework has support for React which is probably a better fit for the User Interface controls it's designed to allow you to create.
I always thought angular was designed for single page apps rather than small pieces within a page.
If you need help getting started with React @rexkenley has created a React starter kit at https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/PCF-React-starter-kit/td-p/439247... and there are sample apps in Microsoft's PCF documentation
Thanks! yes I agree to use react instead of angular for new app. But currently I have app written in Angular and used as web resource in D365. I want to use as it is in PCF control.
I found sample using react in PCF control but nothing like that for angular yet.
In theory you can use my start-up kit with angular if your angular app has an atomic architecture.
You would need to update storybook in my project to handle angular.
It's probably also worth taking a step back here and looking at the difference between a web resource and a PCF control
A web resource is displayed in an iframe and has fully control of the resources you give it and the external libraries you add to it.
HI @Anonymous ,
Are you looking for samples. If you can outline the issue you are facing we can assist in getting it addressed accordingly. As far as samples go we are working on having a sample available and documented.
You can actually "hack" the pcf config to make easy to debug your code.
webpackConfig.js replace mode: buildMode with
Don't forget to change it back.