Learn how to detect clicks made outside of a component in React. Useful for closing modals and dropdown menus when clicking anywhere else on the page.
Learn how you can apply styles from selectors with multiple classes in CSS modules.
Learn how to create your own button component in React. Make it accept all standard HTML button attributes.
Learn how to use Socket.IO with hooks in React. Write a custom hook that handles events.
How do you wrap one component in another in React? Read and learn about composition and creating wrapper components.
This is a quick how-to guide if you want to learn how to pass data from a child to a parent component in React.
Learn how to conditionally render React components by embedding expressions in JSX.