250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- CLASS
- REACT
- concept
- Props
- CSS
- JavaScript
- API
- Interface
- hardhat
- Ethereum
- node.js
- middleware
- tailwindcss
- bitcoin
- HTML
- error
- built in object
- express.js
- useState
- evm
- SSR
- solidity
- Redux
- web
- typeScript
- nextJS
- 삶
- blockchain
- graphQL
- 기준
Archives
- Today
- Total
목록read-only (1)
ReasonJun
React : Function and Class Components / Rendering a Component / Composing Components / Extracting Components / Props are Read-Only
Function and Class Components The simplest way to define component is to write a JS function : function Welcome(props) { return Hello, {props.name}; } This function is a valid React component because it accepts a single “props” (which stands for properties) object argument with data and returns a React element. We call such components “function components” because they are literally JS function...
Frontend/React
2023. 6. 11. 15:41