-
-
Save kamescg/505412db39b9a5a492577853048b1f6b to your computer and use it in GitHub Desktop.
React Hook Boilerplates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @function useTemplate | |
* @param {Object} props | |
* @version 0.0.0 | |
* @description | |
*/ | |
/* --- Global --- */ | |
import { useEffect } from "react"; | |
/* --- Local --- */ | |
/* --- Effect --- */ | |
export const useEffect = props => { | |
useEffect(() => { | |
if (true) { | |
} | |
}, []); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment