Home

SPFX component rendered twice

%3CLINGO-SUB%20id%3D%22lingo-sub-285222%22%20slang%3D%22en-US%22%3ESPFX%20component%20rendered%20twice%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-285222%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20anyone%20help%20me%20with%20the%20below%20mentioned%20problem.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20SPFX%20Webparts%20are%20rendering%20twice%20on%20Modern%20Pages.%20The%20render()%20is%20called%20twice%20if%20I%20try%20to%20navigate%20from%20a%26nbsp%3Bone%20page%20to%20another%20using%20Navigation.%20Also%2C%20While%20editing%20the%20properties%20of%20the%20webpart%2C%20the%20same%20is%20loaded%20multiple%20times.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EAnyone%20else%20facing%20this%20issue%3F%20Is%20it%20a%20reported%20bug%20to%20Microsoft%3F%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20please%20help%20here%20as%20because%26nbsp%3Bof%20that%20we%20may%20need%20to%20propose%20the%20classic%20UI%20based%20solution%20to%20customer.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESunny%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-285222%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Hi 

 

Can anyone help me with the below mentioned problem. 

 

My SPFX Webparts are rendering twice on Modern Pages. The render() is called twice if I try to navigate from a one page to another using Navigation. Also, While editing the properties of the webpart, the same is loaded multiple times.

 

Anyone else facing this issue? Is it a reported bug to Microsoft? 

 

Can you please help here as because of that we may need to propose the classic UI based solution to customer. 

 

 

Thanks

Sunny