Match-id-db36069afb857298b275126c6c8d5ab730928ff5
This commit is contained in:
commit
da98863d52
|
@ -28,6 +28,7 @@ module.exports = {
|
|||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||
'@typescript-eslint/no-empty-function': 'off',
|
||||
semi: ['warn', 'always'],
|
||||
quotes: ['warn', 'single'],
|
||||
'accessor-pairs': 'off',
|
||||
|
|
|
@ -24,6 +24,7 @@ import {
|
|||
useReducer,
|
||||
useRef,
|
||||
useState,
|
||||
useDebugValue
|
||||
} from './src/renderer/hooks/HookExternal';
|
||||
import { launchUpdateFromVNode as _launchUpdateFromVNode, asyncUpdates } from './src/renderer/TreeBuilder';
|
||||
import { callRenderQueueImmediate } from './src/renderer/taskExecutor/RenderQueue';
|
||||
|
@ -54,6 +55,7 @@ const Horizon = {
|
|||
forwardRef,
|
||||
lazy,
|
||||
memo,
|
||||
useDebugValue,
|
||||
useCallback,
|
||||
useContext,
|
||||
useEffect,
|
||||
|
@ -89,6 +91,7 @@ export {
|
|||
forwardRef,
|
||||
lazy,
|
||||
memo,
|
||||
useDebugValue,
|
||||
useCallback,
|
||||
useContext,
|
||||
useEffect,
|
||||
|
|
|
@ -73,3 +73,6 @@ export function useImperativeHandle<T>(
|
|||
): void {
|
||||
return useImperativeHandleImpl(ref, create, deps);
|
||||
}
|
||||
|
||||
// 兼容react-redux
|
||||
export const useDebugValue = () => {};
|
||||
|
|
Loading…
Reference in New Issue