DeprecatedThis package is deprecated
utils-react
utils-react provides important functions for react and vanilla javascript/typescript
How use • Tools • Contributing • Thanks • License
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
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
Authors
Wesley Araújo |
Contributors
Patryck Silva |
João Vitor Ianuci |
Guilherme Felipe |
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
utils-react is a open source project licensed as MIT.

