Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Remove redux-actions #25

Description

@c0

redux-actions doesn't provide much value. createAction is nice, but adds an unneeded abstraction.

This:

const REQUEST_SOMETHING = 'REQUEST_SOMETHING'
const requestSomething = createAction(REQUEST_SOMETHING)

Can easily be converted to:

const REQUEST_SOMETHING = 'REQUEST_SOMETHING'
const requestSomething = params => ({ ...params, type: REQUEST_SOMETHING })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions