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
- web
- built in object
- Redux
- graphQL
- Ethereum
- CLASS
- bitcoin
- Interface
- typeScript
- useState
- SSR
- node.js
- API
- tailwindcss
- blockchain
- express.js
- error
- nextJS
- 기준
- middleware
- CSS
- 삶
- concept
- evm
- HTML
- Props
- hardhat
- JavaScript
- solidity
- REACT
Archives
- Today
- Total
목록function component (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