---
title: "Discussion on \"Conditional Rendering in React.js\" | Hashnode"
description: "Discussion on \"Conditional Rendering in React.js\". Today, I'll be showing you Conditional Rendering in React.js.\n\nConditional Rendering is to Render Components based on Conditions. \n\nFor Example:\nif(Condition A == true){\nreturn <Component_A/>;\n}\nelse{\nreturn <Component_B/>;\n}\n\nIn React, this can be d..."
url: "https://hashnode.com/posts/conditional-rendering-in-reactjs/60dd8f4c0970dd75de76f814"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Conditional Rendering in React.js](https://jesse06.hashnode.dev/conditional-rendering-in-reactjs?utm_source=hashnode&utm_medium=feed)

Today, I'll be showing you Conditional Rendering in React.js. Conditional Rendering is to Render Components based on Conditions. For Example: if(Condition A == true){ return <Component\_A/>; } else{ return <Component\_B/>; } In React, this can be d...

Jul 1, 2021 · 2 min read · jesse06.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Jesswin Chetnani](https://hashnode.com/@jesse06)

@jesse06 · Gujarat, India

  
[View profile](https://hashnode.com/@jesse06)

Building Dynamic and Robust Mobile/Web Applications with Flutter and React.js👀

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
