To prevent a component from rendering, it should return null. This will hide the component without affecting the rest of the UI.
Question 18 of 19 in React Basics Quiz