Blog

x

Sequential Interval React Hook

React, React hooks, setTimeout, promise, animation

Create a React hook that can simulate a pulse-like cycle between animation states through different durations per animation state. tl;dr…

React Hooks: useDims

React, React hooks

Here's another helpful React hook. This one returns the dimensions of an element that's passed to it. It can be used in a component like…

React Hooks: useSlider

React, React hooks

We had a need for an auto advancing image slider in React. I chose to use hooks for this feature. This hook leverages a useInterval hook…