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 | 31 |
Tags
- DB
- python
- Java
- web
- Class
- MIPS
- computer
- html
- DATAPATH
- XML
- DoM
- function
- system
- Algorithm
- github
- javascript
- php
- CSS
- for
- instruction
- MacOS
- DS
- react
- Linux
- control
- Pipelining
- architecture
- data structure
- mysql
- while
Archives
- Today
- Total
목록Normal function (1)
YYYEJI
[React] 화살표 함수(Arrow Function) 만들기
리액트(React)에서 함수를 만드는 방법은 두 가지가 있습니다. 화살표 함수(Arrow function) const FunctionName = () => (Action); const Title = () => ( console.log("mouse enter")}> Hello world ); 함수의 타입(type), 함수의 이름, = () => 그리고 함수의 액션(action) 파트로 나뉩니다. 함수의 액션 파트에는 HTML의 유효한 tag를 사용할 수 있습니다. 기본 함수(Normal function) function Button() { return ( console.log("im clicked")}> Click me! ); } function, 함수의 이름, () {Action_part}로 이루어 집니..
Web Application Server (WAS)
2023. 1. 6. 14:37