File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ app.get("/", (ctx) => {
31
31
});
32
32
```
33
33
34
- 개발 서버를 실행한 후, http://localhost:3000에 접속하면 "Hello World" 문자열이 반환됩니다.
34
+ 개발 서버를 실행한 후 http://localhost:3000 접속하면 "Hello World" 문자열이 반환됩니다.
35
35
36
36
## 컴포넌트 작성하기
37
37
@@ -160,7 +160,7 @@ router.get("/", async () => {
160
160
> - ` onShellReady ` 함수가 호출되기 전 HTML의 기본구조 ` <!DOCTYPE html> ` , ` <html> ` 등을 chunk로 전송해야 합니다.
161
161
162
162
> [ !TIP] 왜 PassThrough을 사용하나요?
163
- > stream 을 직접 제어하려고 [ PassThrough] ( https://nodejs.org/api/stream.html#class-streampassthrough ) 기반으로 stream을 중계합니다.
163
+ > stream을 직접 제어하기 위해 [ PassThrough] ( https://nodejs.org/api/stream.html#class-streampassthrough ) 기반으로 stream을 중계합니다.
164
164
165
165
### 브라우저에 stream 전달하기
166
166
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const delay = (timeout = 2_000) => {
8
8
* From https://jsonplaceholder.typicode.com/
9
9
*/
10
10
export const getTodoList = async ( ) => {
11
- await delay ( 5000 ) ;
11
+ await delay ( 2_000 ) ;
12
12
13
13
return [
14
14
{
You can’t perform that action at this time.
0 commit comments