Timeline for How to load mutiple SPFx webparts in single page simultaneously
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 27, 2019 at 13:03 | comment | added | Joe McShea | I haven't used async await much, but reading about the pitfalls of it it's not that hard to deviate from the pattern slightly causing it to really act like a blocking call. If the web parts appear to load one at a time, I'd look into that (maybe try switching to promises for yucks). If they're clearly loading simultaneously, there isn't much reason to think explicitly setting the load order would change anything? | |
Mar 25, 2019 at 13:41 | comment | added | Sukumar MS | i am using pnp with 'async' & 'await'. Still due to multiple components it takes some time to complete the home page load | |
Mar 25, 2019 at 13:01 | comment | added | Joe McShea | Are you performing blocking Ajax requests (i.e. synchronous) from these web parts? You cannot control the loading of your web parts, but as long as any long running operations are async, they should mostly appear to be loading async. | |
Mar 25, 2019 at 11:38 | answer | added | baywet | timeline score: 0 | |
Mar 25, 2019 at 7:24 | history | edited | Sukumar MS | CC BY-SA 4.0 |
deleted 1 character in body
|
Mar 25, 2019 at 6:58 | history | asked | Sukumar MS | CC BY-SA 4.0 |