mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-06-09 07:33:10 +03:00
Updates
This commit is contained in:
parent
bdb9e3f807
commit
f6f5d954e4
|
@ -1,4 +1,4 @@
|
||||||
import Immutable from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
import shuffle from 'lodash.shuffle';
|
import shuffle from 'lodash.shuffle';
|
||||||
import { combineReducers, Reducer } from 'redux';
|
import { combineReducers, Reducer } from 'redux';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import Immutable from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
import shuffle from 'lodash.shuffle';
|
import shuffle from 'lodash.shuffle';
|
||||||
import { combineReducers, Reducer } from 'redux';
|
import { combineReducers, Reducer } from 'redux';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import jsan from 'jsan';
|
import jsan from 'jsan';
|
||||||
import Immutable from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
import serialize from './serialize';
|
import serialize from './serialize';
|
||||||
import options from '../constants/options';
|
import options from '../constants/options';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import Immutable, { OrderedSet, Record } from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
|
import { Record } from 'immutable';
|
||||||
import { mark, extract, refer } from '../helpers';
|
import { mark, extract, refer } from '../helpers';
|
||||||
import options from '../constants/options';
|
import options from '../constants/options';
|
||||||
import { SerializedImmutableData } from '../types';
|
import { SerializedImmutableData } from '../types';
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import Immutable, { Map, OrderedMap } from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
|
import { Map, OrderedMap } from 'immutable';
|
||||||
import Serialize from '../src/immutable';
|
import Serialize from '../src/immutable';
|
||||||
import { SerializedData } from '../src/helpers';
|
import { SerializedData } from '../src/helpers';
|
||||||
const serialize = Serialize(Immutable);
|
const serialize = Serialize(Immutable);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import jsan from 'jsan';
|
import jsan from 'jsan';
|
||||||
import { immutableSerialize } from '@redux-devtools/serialize';
|
import { immutableSerialize } from '@redux-devtools/serialize';
|
||||||
import { Action } from 'redux';
|
import { Action } from 'redux';
|
||||||
import Immutable from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
import { PerformAction } from '@redux-devtools/core';
|
import { PerformAction } from '@redux-devtools/core';
|
||||||
|
|
||||||
interface State {
|
interface State {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import getParams from 'get-params';
|
||||||
import jsan from 'jsan';
|
import jsan from 'jsan';
|
||||||
import { nanoid } from 'nanoid/non-secure';
|
import { nanoid } from 'nanoid/non-secure';
|
||||||
import { immutableSerialize } from '@redux-devtools/serialize';
|
import { immutableSerialize } from '@redux-devtools/serialize';
|
||||||
import Immutable from 'immutable';
|
import * as Immutable from 'immutable';
|
||||||
import { Action, ActionCreator } from 'redux';
|
import { Action, ActionCreator } from 'redux';
|
||||||
|
|
||||||
export function generateId(id: string | undefined) {
|
export function generateId(id: string | undefined) {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import {
|
||||||
Middleware,
|
Middleware,
|
||||||
} from 'redux';
|
} from 'redux';
|
||||||
import { persistState } from '@redux-devtools/core';
|
import { persistState } from '@redux-devtools/core';
|
||||||
import thunk from 'redux-thunk';
|
import { thunk } from 'redux-thunk';
|
||||||
import rootReducer, { CounterState } from '../reducers';
|
import rootReducer, { CounterState } from '../reducers';
|
||||||
import DevTools from '../containers/DevTools';
|
import DevTools from '../containers/DevTools';
|
||||||
import { CounterAction } from '../actions/CounterActions';
|
import { CounterAction } from '../actions/CounterActions';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { createStore, applyMiddleware, Middleware } from 'redux';
|
import { createStore, applyMiddleware, Middleware } from 'redux';
|
||||||
import thunk from 'redux-thunk';
|
import { thunk } from 'redux-thunk';
|
||||||
import rootReducer, { CounterState } from '../reducers';
|
import rootReducer, { CounterState } from '../reducers';
|
||||||
|
|
||||||
const enhancer = applyMiddleware(thunk as unknown as Middleware);
|
const enhancer = applyMiddleware(thunk as unknown as Middleware);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user