Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
/deoxPublic archive
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Handler map factory should handle optimistic action type #4

Open
Assignees
the-dr-lazy
Labels
@the-dr-lazy

Description

@the-dr-lazy

According to#2,createHandlerMap should be capable to handle optimistic action creators.

Detailed Description

Yet, optimistic actions should be handled separately with multiplecreateHandlerMap call. So there would be a good point to reduce boilerplates.
Although, cancel is not part ofobserver protocol but this type practically is important and should be handled in many cases (isFetching entity, etc.) in the reducers.

Possible Implementation

createHandlerMap(addFoo,{next(state,action){},error(state,action){},complete(state,action){},cancel(state,action){}})

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp