Hi Everyone,
I have come across below strange issue with SPFx -
- We have custom webapi available and that is being consumed from SPFx webpart
- This custom webapi is hosted in two instances of Azure as App Service - webapi1 & webapi2
- This SPFx webpart has custom webpart properties
- We have 2 different environments - Dev 1 & Dev 2. Both environments have side loading enabled for site collection level App Catalog
- SPFx webpart of two different versions are deployment to Dev 1 & Dev 2
- In version 1, we have 4 webpart properties
- In version 2, we have 8 webpart properties
- Version 1 SPFx webpart consuming webapi 1 & Version 12SPFx webpart consuming webapi 2
- I have opened Dev 1 site first in one tab instance of browser and opened Dev 2 site next in second tab instance of browser
- Now, if i go back to the first tab and refresh - I see that the SPFx webpart of version 1 is getting displayed like SPFx webpart version 2 instance
- I see that 8 webpart props are there instead of 4 webpart properties
- Also, the webapi call is going to webapi 2 instance instead of webapi
- But, when i clear the cookies & cache - And browse the Dev 1 site again, it is normal
Is this product issue - Any webpart properties file is being shared somehow between separate environments & the respective config file. Can you please let me know if anyone else faced this issue and any leads to resolve this issue.
Thanks & Regards,
Bhanu
Thanks & Regards,
Bhanu