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...
Markdown supported · ⌘↵ to post
No responses yet.