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
- HTML
- innerText
- keyup
- Empty
- modal
- Dom
- Event
- Review
- keyboardEvent
- ES5
- css:position
- textContent
- innerHTML
- for loop
- addEventListener
- dotenv
- nodeValue
- UI
- es6
- TypingEffect
- beforeinput
- node
- react
- js
- yet
- node.js
- a11y
- CSS
- Temporal dead zone
- javascript
Archives
- Today
- Total
the murmurous sea
app.get() vs. router.get() 본문
app.get
app.get can be used to create routes for your application at the top level.
express.Router
From the documentation about express.Router;
Use the express.Router class to create modular, mountable route handlers. A Router instance is a complete middleware and routing system; for this reason, it is often referred to as a “mini-app” |
A router needs to be mounted to an app.
@
expressjs.com/th/guide/routing.html
stackoverflow.com/questions/41836310/difference-between-app-get-or-router-get-expressjs
'#dev > 개념정리' 카테고리의 다른 글
React state vs. Redux state (0) | 2021.05.26 |
---|---|
How to kill a port (0) | 2021.04.16 |
UX/UI: Branding (0) | 2021.01.26 |
UX/UI: what makes good web design (0) | 2021.01.23 |
UI: Responsive layout grid (0) | 2020.10.28 |
Comments