AnyChart-React icon indicating copy to clipboard operation
AnyChart-React copied to clipboard

React 16.8 and greater

Open jdillick opened this issue 3 years ago • 1 comments

React Hooks Implementation

This PR updates dependencies and is a rewrite of the component (based on the existing version), but using a functional component with React Hooks, instead of a class component with lifecycle methods.

The component is supported in React 16.8 and greater, and would be required for React 18 and greater, due to discontinued lifecycle methods.

Hope this helps.

John

jdillick avatar Oct 08 '22 18:10 jdillick

@rkkmkkfx Just in case this is lost in sea of dependabot PRs, thought I'd ping someone who's merged on project before.

jdillick avatar Feb 03 '23 14:02 jdillick