Child Function Component Rerendering
ButtonA and ButtonB are childrens of the same parent component.Both of them will cause parent component to rerender. Click to see the differences.You clicked 0 times
ButtonA rendered 1 times; ButtonB rendered 1 times