Closed isaiahgrey93 closed 5 years ago
@isaiahgrey93 nice! would you mind explaining it shortly in the readme as well? Thanks!
Sure thing! I updated with details for the default export. Also I noticed:
import { useSt8 } from 'useSt8';
vs
import useSt8 from 'useSt8';
is a whole 4 characters less! 😆
Thanks!
Released as 1.0.2
Nice work! I really like the consolidated approach to
useState
. Thank you for this 🎉Just opening this to see if you would consider adding a default export to allow users a way to name the function whatever they'd like vs aliasing the named export.