mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
upgrade deps [skip-cache]
This commit is contained in:
12 files changed
+60
-58
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import type { Action, AnyAction, Reducer } from 'redux';
|
||||
import type { Action, Reducer, UnknownAction } from 'redux';
|
||||
|
||||
export default async function loadReactRedux<S, A extends Action = AnyAction>(storeReducer: Reducer<S, A>) {
|
||||
const [{ Provider }, { createStore, applyMiddleware }, { default: reduxThunk }, { default: reduxPromise }] = await Promise.all([
|
||||
export default async function loadReactRedux<S, A extends Action = UnknownAction>(storeReducer: Reducer<S, A>) {
|
||||
const [{ Provider }, { createStore, applyMiddleware }, { thunk: reduxThunk }, { default: reduxPromise }] = await Promise.all([
|
||||
import('react-redux'),
|
||||
import('redux'),
|
||||
import('redux-thunk'),
|
||||
|
||||
Reference in new issue
Block a user