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.
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