SPFX Page not loading on refresh

Revathi Paramasivan 1 Reputation point
2021-06-28T07:49:42.457+00:00

I have created home page app using SPFX and react framework and successfully deployed. Added the app into the page(Home.aspx) by using CEWP.

When am refreshing the page, the contents are not loading and it looks empty. But in workbench.aspx refresh works.

can you help me to resolve this issue?

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,031 Reputation points
    2021-06-29T07:20:33.75+00:00

    Hi, @Revathi Paramasivan ,

    You said "Added the app into the page(Home.aspx) by using CEWP", can you share more details?

    Are you adding the spfx webpart in a classic page?

    You could try to add the spfx web part in a modern page, it may work for you.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.