weavedev/redux-async

View on GitHub

Showing 1 of 3 total issues

Function createAsyncReducer has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createAsyncReducer<T extends AsyncThunk<any, any, any>, A extends TypedActionCreator<string>>(
    thunk: T,
    clearAction?: A,
): ReducerWithInitialState<AsyncReducerState<T>> {
    return createReducer<AsyncReducerState<T>>(
Severity: Minor
Found in lib/createAsyncReducer.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language