#React
-
Conditional Rendering
- `if` `&&` and `?:` operators can be used to render JSX conditionally.
-
Heads-up
- Under the hood, JSX is transformed into plain JavaScript objectcs and you can't return two objects from a function without wrapping them into an arr...
-
How to use useContext correctly in React
- Create a folder named `contexts` in the `src` folder.