You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/pages/docs/glossary.mdx
-36Lines changed: 0 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,6 @@ import { Warning } from "#/components/callout";
11
11
12
12
A class component is a component defined as a [JavaScript class](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
13
13
14
-
### Component
15
-
16
-
A `component` is a piece of the UI (user interface) that has its own logic and appearance. A `component` can be as small as a button, or as large as an entire page.
17
-
18
14
### Conditional Rendering
19
15
20
16
Conditional Rendering is the process of displaying different UI based on certain conditions.
@@ -49,12 +45,6 @@ The `deps` is an abbreviation for React Hook's dependencies array.
49
45
50
46
The `displayName` is a string used in debugging messages. It is used by React DevTools to determine what to display for the name of a `component` or `context`.
51
47
52
-
### Element
53
-
54
-
A plain object describing a component instance or DOM node and its desired properties.
55
-
56
-
Elements are the smallest building blocks of React apps.
It's usually a `eslint.config.js` file under the root directory of your project.
69
59
70
-
### ForwardRef
71
-
72
-
A React API that lets your component expose a DOM node to parent component with a [ref](https://react.dev/learn/manipulating-the-dom-with-refs).
73
-
74
60
### Fragment
75
61
76
62
A React component that lets you group elements without a wrapper node.
@@ -83,28 +69,6 @@ The shorthand syntax for a Fragment in JSX. It looks like `<>...</>`.
83
69
84
70
A function component is a component defined as a [JavaScript function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions).
85
71
86
-
### Key
87
-
88
-
The `key` prop is a string or a number that uniquely identifies it among other items in that array.
89
-
90
-
### List Rendering
91
-
92
-
The process of rendering components from a collection of data.
93
-
94
-
### Memo
95
-
96
-
The `memo` is a React API lets you skip re-rendering a component when its props are unchanged.
97
-
98
-
### Props
99
-
100
-
React component's properties.
101
-
102
-
When React sees an element representing a user-defined component, it passes JSX attributes and children to this component as a single object. We call this object "props".
103
-
104
-
### Ref
105
-
106
-
The `ref` lets you referencing values in React.
107
-
108
72
### Legacy React APIs
109
73
110
74
[APIs](https://react.dev/reference/react/legacy) are exported from the `react` package, but they are not recommended for use in newly written code.
0 commit comments