My favorite React and JS utils
npm install --save @rafaelpelle/react-utils
import React from 'react'
import { useCPFInput } from '@rafaelpelle/react-utils'
export default function Example() {
const cpfInput = useCPFInput()
return <input {...cpfInput} />
}