文章:-在Web Worker中运行Angular 6应用程序希望这些链接将有助于您了解在角度应用程序中使用Web Worker的不同方法,并选择最适合您的项目和用例的方法.I am using angular 6. I want to load 100 rows in my grid but this 100rows contains lots of data so while loading this data in my angular application it's hangs the browser.So currently I changed into 20rows per page I am using remote pagination.But I have a requirement to load 100rows in my application. So I tried to implement the WebWorkers. But I didn't find any examples.Can someone give me the example or steps to implement WebWorkers in angular 6Also I am using reactive formarray for dynamic forms. In this I am loading more than 50 drop-down fields on edit form that time also browse hangs. I need a solution for this formarray also. 解决方案 You can find a useful presentation that talks about integrating web workers in your angular application:SlideShare :- Web workers in your Angular Application- Different ApproachesGithub :- Sample Code from presentation for Web Worker in Angular 6Article :- Running your Angular 6 application in Web WorkerHope these links will be helpful for you to understand different approaches for using web worker in angular app and choose the one that best fit for your project and use case. 这篇关于网工在角度6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 01:59