Posted inJavascript React
A unique way to do conditional rendering within a React component
Conditional rendering is really what React is all about - Each component reacts to the state updating and as a result, we as developers want to render certain elements to the DOM based on these state changes. Enter conditional rendering.