Skip to content

Commit

Permalink
React Components
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilsoni committed Oct 16, 2023
1 parent 8daab0a commit 95b4f9c
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docs/ui/react/components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
layout: default
title: React Components
parent: React
grand_parent: UI Design
permalink: /docs/ui/react/components/
---


# React Components
{: .no_toc }

## Table of contents
{: .no_toc .text-delta }

1. TOC
{:toc}

---

## React Components


Components are the building blocks of any React app and a typical React app will have many of these. Simply put, a component is a JavaScript class or function that optionally accepts inputs i.e. properties(props) and returns a React element that describes how a section of the UI (User Interface) should appear.

In React, a Stateful Component is a component that holds some state. A Stateless component, by contrast, has no state. Note that both types of components can use props.

---

## Functional Components



---

## Class Components

---

## Pure Components

---

## Higher Order Components

---

## Lazy Loading

---



0 comments on commit 95b4f9c

Please sign in to comment.