Match-id-f60ca75d66b36d7539ad0e15c77d6f0ffd07f3bd

This commit is contained in:
* 2023-02-01 11:20:31 +08:00
commit b9da0f800a
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,6 @@
## 0.0.38 (2023-02-01)
- **core**: 增加flushSync接口
## 0.0.37 (2023-01-31) ## 0.0.37 (2023-01-31)
- **core**: 增加jsxs方法 - **core**: 增加jsxs方法

View File

@ -66,6 +66,8 @@ import {
unmountComponentAtNode, unmountComponentAtNode,
} from './src/dom/DOMExternal'; } from './src/dom/DOMExternal';
import { syncUpdates as flushSync } from './src/renderer/TreeBuilder';
const Horizon = { const Horizon = {
Children, Children,
createRef, createRef,
@ -98,6 +100,7 @@ const Horizon = {
findDOMNode, findDOMNode,
unmountComponentAtNode, unmountComponentAtNode,
act, act,
flushSync,
createStore, createStore,
useStore, useStore,
clearStore, clearStore,
@ -147,6 +150,7 @@ export {
findDOMNode, findDOMNode,
unmountComponentAtNode, unmountComponentAtNode,
act, act,
flushSync,
// 状态管理器HorizonX接口 // 状态管理器HorizonX接口
createStore, createStore,
useStore, useStore,

View File

@ -4,7 +4,7 @@
"keywords": [ "keywords": [
"horizon" "horizon"
], ],
"version": "0.0.37", "version": "0.0.38",
"homepage": "", "homepage": "",
"bugs": "", "bugs": "",
"main": "index.js", "main": "index.js",