These are a collection of tips and tricks you can use to improve the performance and readability of your code.
To asynchronously fetch data in a React component using hooks, we can define and then call an asynchronous function inside of useEffect.
To improve the readability of React components, we can import the styled-components they use from another file under a ui-namespace.
We can write a single function that reads the global theme instead of doing the same thing for multiple properties.
When using styled-components in React, we can use destructuring to make our components more readable.