Updated all packages, including to react-router-dom v6 and react 18 with accompanying changes
Removed lodash and react-animate-on-scroll libraries, as 1) array.flat() is now available in es2019 and 2) react-animate-on-scroll is no longer compatible with react 17 and it is easier to create a new component for it.
Created new component AnimateOnScroll and custom hook that mimics the functionality of the old library
react-router-dom
v6 andreact
18 with accompanying changeslodash
andreact-animate-on-scroll
libraries, as 1)array.flat()
is now available in es2019 and 2)react-animate-on-scroll
is no longer compatible with react 17 and it is easier to create a new component for it.AnimateOnScroll
and custom hook that mimics the functionality of the old library