react-skylight
react-skylight copied to clipboard
Replace implementation for deprecated React lifecycles
React deprecated a few lifecycles, including componentWillUpdate
and componentWillMount
, which were both used in the library. This PR substitutes those lifecycles for "safer" implementations.
The new implementation for componentWillUpdate
might seem counterintuitive at first sight, but I believe it is safer than using any other available lifecycle.
@marcio any chances this pull request would be merged?