Skip to content

Commit 7d58eba

Browse files
committed
FY-64/chore: add currentDispatcher
현재 dispatcher를 추적하는 Object currentDispatcher를 추가하였습니다. 이후 dispatcher는 mount/update로 구분하여 개발예정입니다. mount/update logic 을 구분하여 개발함으로써 초기 rendering 속도를 높이기 위함입니다. 자세한 내용은 아래 react pull request를 참고해주세요 facebook/react#14701
1 parent 1bfcc97 commit 7d58eba

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

srcs/core/currentDispatcher.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* @file currentDispatcher.js
3+
* @description This file defines the currentDispatcher object.
4+
* @module core/currentDispatcher
5+
*/
6+
7+
/**
8+
* @property current {Object} The current dispatcher.
9+
*/
10+
const currentDispatcher = {
11+
current: null,
12+
};
13+
14+
export default currentDispatcher;

0 commit comments

Comments
 (0)