Problems displaying spfx webpart

Copper Contributor

Hi,

 

i'm developing a simple spfx webpart that uploads a file to a sharepoint document library.

 

It works well on the workbench. I am able to add it to a page, and the first time I add it to the page it works.

 

When I refresh the page, the webpart does not display anymore.

 

How should I debug this problem?

1 Reply

@malafontaine 

 

Is your web part written in React? Sounds like you might have some state management/lifecycle issues going on. Can you share your code?