RH
Size: a a a
RH
RH
Component renders for the first time.https://reacttraining.com/blog/useEffect-is-not-the-new-componentDidMount/
The return value of render() is used to mount new DOM.
componentDidMount fires and set's state immediately (not in an async callback)
The state change means render() is called again and returns new JSX which replaces the previous render.
The browser only shows the second render to avoid flicker.
RH
АЗ
RH
RH
RH
АЗ
RH
RH
АЗ
RH
АХ
АЗ
RH
АХ
АХ
ES
RH
RH