A common mistake make performance issue in React
We have code block like:
function ParentComponent(props) {
return (
<ChildComponent style={{ color: 'red' }} />
)
}
What performance with the above code?
Normally React only rerender a component of props or state change. For this case, ChildC...
tungnt620.com1 min read