stacks-archive / animal-kingdom

43 stars 191 forks source link

Upgrade React version #475

Open webwizart opened 4 years ago

webwizart commented 4 years ago

The demo dapp is still using old react lifecycles

https://reactjs.org/docs/react-component.html

Note: These methods are considered legacy and you should avoid them in new code: UNSAFE_componentWillMount()

Note: This lifecycle was previously named componentWillReceiveProps. That name will continue to work until version 17. Use the rename-unsafe-lifecycles codemod to automatically update your components.

moxiegirl commented 4 years ago

@webwizart Thank you for the issue. Do you have any interest in providing a PR for this? We would really appreciate that.