-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
--- | ||
|
||
|
||
|