Skip to content

Jaakal/webixu-react-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webixu React Utils

npm version License: MIT

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.

Installation

You can install Webixu React Utils using npm:

npm install webixu-react-utils

Usage

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

Available Functions

  • 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.

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published