manager
manager copied to clipboard
Cloud Manager Props Clean Up
Description 📝
- Cleans up props of all components
- Removes
React.FCwhere it is unnecessary
Why ❓
- https://medium.com/raccoons-group/why-you-probably-shouldnt-use-react-fc-to-type-your-react-components-37ca1243dd13
- This will improve readability of our code
- May help speed up
tsca bit with less complex typings
How to test 🧪
- Run typechecking with
yarn workspace linode-manager typecheck - Check basic app functionality
- The diff looks crazy, but it's just type changes throughout the app. If
tscpasses, we can safely assume no app functionality will change
- The diff looks crazy, but it's just type changes throughout the app. If