react-bits
react-bits copied to clipboard
An open source collection of animated, interactive & fully customizable React components for building stunning, memorable user interfaces.
fixed issue #230 by updating the useElementWidth hook to use a generic type, resolving the ESLint strict type error.
### Describe the issue ESLint error ``` Explain what this problem is and help me fix it: Argument of type 'RefObject' is not assignable to parameter of type 'RefObject'. Type...
# Refactor for Performance Improvement I refactored the component to improve performance by replacing useState with Framer Motion’s useMotionValue hook. This avoids unnecessary re-renders by preventing state updates on every...
Just another "any" removal 😎 By the way.... Is there some reason for variantMap to be an object with numerical indexes instead of an array? If you want, I can...
**Description** The current React version used by this project is `"react": "^18.3.1"`. **Proposal** Upgrade the project to React 19 to take advantage of the latest features, performance improvements, and bug...
I completely reworked the `Stack` component to make it **flexible** when working with arbitrary content (`children`), add the necessary **autoplay** functionality & synchronize content processing (e.g., for i18n) ### AND...