only render react component after didmount code example Example: component did mmount componentDidUpdate(prevProps, prevState, snapshot)