Webixu React Utils is a collection of utility functions for React. These functions are designed to make common tasks in React development easier and more efficient.
You can install Webixu React Utils using npm:
npm install webixu-react-utils
To use Webixu React Utils, simply import the utility functions you need into your project:
import { destructureRef, destructureRefsObject } from 'webixu-react-utils';
// use the functions here
destructureRef(ref: React.RefObject<T>): T
: a utility function that retrieves the current value of a React ref object.destructureRefsObject(refsObject: Record<string, React.RefObject<T>>): Record<string, T>
: a utility function that retrieves the current values of multiple React ref objects.
This project is licensed under the terms of the MIT license. See the LICENSE file for details.