A hook providing a function that will cause the component to re-render, no questions asked.
npm install @hmans/use-rerenderuseRerender returns a function that, when called, will cause the component to re-render, no questions asked.
``tsx
import { useRerender } from "@hmans/use-rerender"
const MyComponent = () => {
const rerender = useRerender()
useEffect(() => {
console.log("This component was rendered!")
})
return (