Good question. The React team has called out these methods as unsafe for future use with async rendering. At the moment, they are still okay to use. But once async comes into the picture, these methods are not considered safe, since it goes outside the scope of their original purpose. I think they are trying to discourage it’s use before they introduce async rendering in the future.

Software Consultant, Author, Speaker, React Native|React|GraphQL Dev & Indian Classical Musician http://adhithiravichandran.com/

Software Consultant, Author, Speaker, React Native|React|GraphQL Dev & Indian Classical Musician http://adhithiravichandran.com/