MoOx / react-topbar-progress-indicator

`topbar` progress indicator as a React component
MIT License
109 stars 6 forks source link

Renamed lifecycles in latest React #5

Closed adeluca67 closed 5 years ago

adeluca67 commented 5 years ago

As of React 16.9.0 we're getting warnings while using this handy little progress bar:

Warning: componentWillMount has been renamed, and is not recommended for use. update-on-async-rendering

We can certainly replace it with our own, but was just wondering if there are plans for a new release which fixes such problems.

MoOx commented 5 years ago

Fixed in 3.0.0 :)

MoOx commented 5 years ago

4.0.0 is even better as it's vanilla js that use React.useEffect (hope this works in real world, didn't tested my release in production haha)