React code cannot synchronize with the page. Update the code after refreshing the browser.
// The problem code is not synchronized with the page by exporting default () => {}. Export default () => {return (<>some content, page data is not synchronized after modification </>)}Copy the code
// Good code const Test = () => {return (<div>)} export default Test;Copy the code