logo
Updated

React

setup storybook latest on repo #now

make/find linter that lints all useState where setter is not used (for cleanup)

delete all such things in `app.gen-token` as there is a few of these there

Rules

component files should have one exported function and it should not be default export, just make it normal export

there are some exceptions but that should be more rare (Logos.tsx are good example although even there you can make a case for just one <Logo /> component with a prop)

component names in export should be same name as the file.tsx

name components with function syntax always, not const ..

Links