Skip to content

Commit a740035

Browse files
author
liuchuan
committed
feat: add hooks
1 parent 214aeff commit a740035

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ ReactDOM.createRoot(document.getElementById('root')!).render(<App />);
3232

3333
## unstable hooks
3434
我们实验性的支持了激活 失活的hooks,但是它的执行时机是晚于Effect的,这与react未来规划不符,所以我们不准备将其合并至主分支,有兴趣的可以自行fork使用。
35+
具体可以参考https://github.com/IVLIU/react-offscreen/tree/feat/unstable-hooks
3536
```typescript
3637
import React from 'react';
3738
import ReactDOM from 'react-dom/client';

0 commit comments

Comments
 (0)