News

This feature was introduced in React 16 and allows you to define components that act as error-catching mechanisms for the component tree below them. We’ll see an example shortly, but a render ...
This is known in the React docs as “lifting up state.” The idea here is that when children at the same level of the component tree must share state, that state is pushed up to the parent.