Open bernardnongpoh opened 4 years ago
Yeah... Looks like it was fixed 4 months ago but never released? If you look in the ActionButton.js, you can see that the code has been updated to useEffect, but if you look at the installed version in node_modules the "componentWillReceiveProps" is still there.
Hopefully someone notices eventually.
There hasn't been a release since 2018??
Are people just cloning and using this code directly in their own projects?
Can someone tell me how to fix this? Is there a fixed version of ActionButton.js somewhere?
So yeah the only way I "fixed" the problem was to clone the existing code, which contains the fix, and use it as a component. There is someone out there doing the pull-requests/fixes but no one doing the builds.
Ah, now I see. Thank you. I hope the maintainer is still alive.
Warning in the console: componentWillReceiveProps has been renamed and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.