props
- react
Best Practices with React Hooks
Follow the rules of Hooks Only call Hooks at the top level Only call Hooks from function components . . .
- react
TypeScript + React: Why I don’t use React.FC
You type a function, not its arguments FC<> always imply children Easier to move to Preact . . .