File ChatBot.js still uses componentWillMount() to run some of its logic.
But this lifecycle method is not recommended to be used anymore.
From what I looked into the code, there are no side effects running inside willMount() but wouldn't it be interesting to update the code, so we wouldn't face any warning when developing an app?
Description
File ChatBot.js still uses
componentWillMount()
to run some of its logic.But this lifecycle method is not recommended to be used anymore.
From what I looked into the code, there are no side effects running inside
willMount()
but wouldn't it be interesting to update the code, so we wouldn't face any warning when developing an app?Screenshots