Eliminate unsafe lifecycle methods from React code

Description

If I understand correctly, apart from being bug-prone, these methods aren't compatible with async rendering.

For React 17, we can get the code to work again by prepending UNSAFE_ to the method names, but we really should avoid them entirely by changing our code, especially if we want to allow async rendering.

We currently use these methods in about a dozen places:

Assignee

Unassigned

Reporter

Sean Flanigan

Labels

Tested Version/s

None

Components

Priority

unspecified
Configure