Match-id-438e5ae2e5a613afbab1815bbe68fde1d60c7413
This commit is contained in:
commit
8ac1931b7e
|
@ -12,5 +12,6 @@
|
|||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
"dependencies": {},
|
||||
"types": "@types/index.d.ts"
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ export function JSXElement(type, key, ref, vNode, props, source: Source | null)
|
|||
}
|
||||
|
||||
function isValidKey(key) {
|
||||
const keyArray = ['key', 'ref', '__source'];
|
||||
const keyArray = ['key', 'ref', '__source', '__self'];
|
||||
return !keyArray.includes(key);
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ export function clearVNode(vNode: VNode) {
|
|||
vNode.belongClassVNode = null;
|
||||
if (window.__HORIZON_DEV_HOOK__) {
|
||||
const hook = window.__HORIZON_DEV_HOOK__;
|
||||
hook.delete(vNode);
|
||||
hook.deleteVNode(vNode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
export const ActionType = {
|
||||
Pending: 'PENDING',
|
||||
Fulfilled: 'FULFILLED',
|
||||
Rejected: 'REJECTED',
|
||||
};
|
||||
|
||||
export const promise = store => next => action => {
|
||||
//let result = next(action);
|
||||
store._horizonXstore.$queue.dispatch(action);
|
||||
return result;
|
||||
};
|
Loading…
Reference in New Issue