-- A short description of your hook --
- why this hook is necessary and what it does
import { yourHook } from 'beautiful-react-hooks';
const YourExample = () => {
/* Your code goes here */
return null;
};
<YourExample />
description of the use case
import { yourHook } from 'beautiful-react-hooks';
const YourUseCase = () => {
/* Your code goes here */
return null;
};
<YourUseCase />
- When it's good to use
- When it's not good to use