1.2.0 • Published 2 years ago
utils-react v1.2.0
:rocket: How use
Instalation:
npm install utils-react
#or
yarn add utils-reactAnswer 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 worlduseDebounce
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.

