You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReact,{useState}from'react';functionExample(props){return<div>{props.title}</div>}constExampleNew=React.memo(Example,(prevProps,nextProps)=>{// update here ,hot reload doesn't work unless refreshing the page in browser// console.log("2")console.log("1")returnfalse})functionApp(){const[count,setCount]=useState(0);return(<div><ExampleNewtitle={count}/><buttononClick={()=>setCount(count+1)}>
Click me
</button></div>);}exportdefaultApp;
The text was updated successfully, but these errors were encountered:
Just upgraded to 4.0.1 from 3.something and have a bunch of weird behaviour re: hotloading. Can file a more detailed bug report when I have the time, but the page doesn't refresh on save anymore - is this a bug or a feature? Also sometimes I have to kill the tab on certain compile errors because the console get stuck spamming the errors...
Describe the bug
The text was updated successfully, but these errors were encountered: