internetee / registrant_center

Web portal for domain registrants and contacts to get a registrar independent overview of domain associated with the user. Other features include contact data update and fully automated domain registry lock.
0 stars 0 forks source link

Using UNSAFE_componentWillMount in strict mode is not recommended #80

Open OlegPhenomenon opened 3 years ago

OlegPhenomenon commented 3 years ago
Warning: Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.

Please update the following components: SideEffect(NullComponent)

Updating react-hemlet to version 6.0.1 does not solve the problem. https://github.com/bbc/simorgh/issues/3893#issuecomment-730702092

But judging by the comments, the library react-helmet-async allows to solve the problems

https://github.com/nfl/react-helmet/issues/623 https://github.com/nfl/react-helmet/issues/548

https://www.npmjs.com/package/react-helmet-async

pacocom commented 2 years ago

I have the same problem!!