Skip to content

Instantly share code, notes, and snippets.

@marciobarrios
Created June 19, 2019 14:28
import { useEffect } from "react"
export const useMount = fn => useEffect(fn, [])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment