1.2.0 • Published 5 months ago

utils-react v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Open Source Love MIT Licence npm version npm downloads All Contributors

:rocket: How use

Instalation:

npm install utils-react
#or
yarn add utils-react

Answer the questions (When choosing the tool, use the arrows keys to navigate, the spacebar to select and enter to finish)

🛠️ Tools

Example:

upperFirst

Capitalize the first letter of the string.

import { upperFirst } from "utils-react";

upperFirst("hello world"); // Hello world

useDebounce

Debounce hook is used to minimize backend requests on inputs.

import { useDebounce } from "utils-react";

const [value, setValue] = useState("");
const debouncedValue = useDebounce(value, 1000);

useEffect(() => {
  console.log(debouncedValue);
}, [debouncedValue]);

for more information, see the docs, Vanilla and React

:pencil: Contributing

Your contribution to the utils-react is essential for the evolution of the project, you can do it as follows:

  • Open an issue to clear doubts, report bugs or give ideas
  • Open a pull request to give ideas for code improvement, implementation of new features and bug fixes

These are just some of the ways you can contribute to the project read the CONTRIBUTING for more information

:adult: Authors

✨ Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

:page_facing_up: License

utils-react is a open source project licensed as MIT.

1.2.0

5 months ago

1.1.0

8 months ago

1.0.9

8 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago