Skip to content

Commit

Permalink
Added a useFalsy Hook (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratikxya authored Oct 1, 2022
1 parent 24e1395 commit 5cc995f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hooks/useFalsy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { useMemo } from "react"
export const useFalsy = () => {
const falsy = useMemo(() => false, [])

return falsy
}

1 comment on commit 5cc995f

@vercel
Copy link

@vercel vercel bot commented on 5cc995f Oct 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-useless – ./

react-useless-notnarze.vercel.app
react-useless.vercel.app
react-useless-git-main-notnarze.vercel.app

Please sign in to comment.