commit
0dff459fcb
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "openinula",
|
"name": "inula",
|
||||||
"description": "OpenInula is a JavaScript framework library.",
|
"description": "OpenInula is a JavaScript framework library.",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "inula-intl",
|
"name": "inula-intl",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "build/intl.umd.js",
|
"main": "build/intl.umd.js",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "inula-request",
|
"name": "inula-request",
|
||||||
"version": "0.0.5",
|
"version": "0.0.7",
|
||||||
"description": "Inula-request brings you a convenient request experience!",
|
"description": "Inula-request brings you a convenient request experience!",
|
||||||
"main": "./dist/inulaRequest.js",
|
"main": "./dist/inulaRequest.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -41,4 +41,7 @@ export default {
|
||||||
presets: ['@babel/preset-env']
|
presets: ['@babel/preset-env']
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
external:[
|
||||||
|
'openinula'
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,7 +21,7 @@ import { setStateChange } from '../render/FunctionComponent';
|
||||||
import { getHookStage, HookStage } from './HookStage';
|
import { getHookStage, HookStage } from './HookStage';
|
||||||
import type { VNode } from '../Types';
|
import type { VNode } from '../Types';
|
||||||
import { getProcessingVNode } from '../GlobalVar';
|
import { getProcessingVNode } from '../GlobalVar';
|
||||||
import { markUpdatedInRender } from "./HookMain";
|
import { markUpdatedInRender } from './HookMain';
|
||||||
|
|
||||||
// 构造新的Update数组
|
// 构造新的Update数组
|
||||||
function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> {
|
function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> {
|
||||||
|
|
|
@ -74,7 +74,7 @@ export function getLazyVNodeTag(lazyComp: any): string {
|
||||||
} else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) {
|
} else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) {
|
||||||
return typeLazyMap[lazyComp.vtype];
|
return typeLazyMap[lazyComp.vtype];
|
||||||
}
|
}
|
||||||
throw Error("Inula can't resolve the content of lazy");
|
throw Error('Inula can\'t resolve the content of lazy');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建processing
|
// 创建processing
|
||||||
|
|
Loading…
Reference in New Issue