Build an Animated Page Indicator with Hooks in React

added by JavaScript Kicks
1/15/2019 8:14:26 AM

279 Views

In this lesson we'll build an animated page indicator with React class component. We'll use state, and basic math to setup `transforms` to allow for automatic page animations even across multiple page changes. Then we'll convert the class component to take advantage of React hooks including `useState`, `useEffect` and `useRef`.


0 comments