Skip to content

Add use-reducer-with-callback hook - #10

Open
luisdralves wants to merge 1 commit into
masterfrom
feature/use-reducer-with-callback
Open

luisdralves wants to merge 1 commit into
masterfrom
feature/use-reducer-with-callback

Conversation

@luisdralves

@luisdralves luisdralves commented Jul 15, 2022 •

Copy link
Copy Markdown
Contributor

This PRs adds the use-reducer-with-callback hook. It is like a normal useReducer, but includes a callback as a second parameter that is only called after the dispatch

@luisdralves
luisdralves force-pushed the feature/use-reducer-with-callback branch from 8953ad2 to 416b7ae Compare July 15, 2022 16:35
@rafazsh rafazsh removed their assignment Aug 7, 2023

This branch has not been deployed

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

Labels

hooks Regarding the `hooks` package type: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants