Skip to content

Instantly share code, notes, and snippets.

@kamescg
Created March 28, 2020 16:56
Show Gist options
  • Save kamescg/505412db39b9a5a492577853048b1f6b to your computer and use it in GitHub Desktop.
Save kamescg/505412db39b9a5a492577853048b1f6b to your computer and use it in GitHub Desktop.
React Hook Boilerplates
/**
* @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