일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Redux
- bitcoin
- 기준
- built in object
- Interface
- node.js
- JavaScript
- useState
- Props
- Ethereum
- blockchain
- concept
- graphQL
- web
- SSR
- CSS
- nextJS
- API
- solidity
- HTML
- middleware
- REACT
- express.js
- hardhat
- tailwindcss
- CLASS
- typeScript
- evm
- error
- 삶
- Today
- Total
목록JSX.Element (2)
ReasonJun
React.FC and JSX.Element are both types that are used in TypeScript to represent React components. However, there are some key differences between the two types. React.FC is a type that is specifically designed for React components. It has an implicit children prop, which means that the component will accept children even if the children prop is not explicitly defined. React.FC also has default ..
JSX.Element, ReactNode, and ReactElement are all related to React, but they have different meanings and uses. JSX.Element is a type that is used in TypeScript to represent a JSX expression. It is equivalent to the ReactElement type, but its props and type properties are both any. This means that JSX.Element can represent any kind of value, including ReactElements, strings, numbers, and objects. ..