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
Type something in the input to trigger parent App component render function
Check console logs
Then go to src/App.tsx and comment out line 20
Type something again
Check console logs again, see the different results
What is expected?
Only parent App component's onUpdated hook should be triggered, child Test component should not be re-rendered as nothing is changed to trigger child Test render function
What is actually happening?
Both parent App and child Test components are re-rendered