Skip to content

Add hooks to complement HOCs#44

Merged
rmccue merged 10 commits intomasterfrom
add-hooks
Apr 27, 2020
Merged

Add hooks to complement HOCs#44
rmccue merged 10 commits intomasterfrom
add-hooks

Conversation

@rmccue
Copy link
Copy Markdown
Member

@rmccue rmccue commented Apr 26, 2020

This PR adds useSingle, useArchive, and usePagedArchive which are analogous versions of their HOCs brethren.

Requires react-redux 7.1+, but will fail nicely (with a readable error) if you're not up-to-date.

@rmccue rmccue requested a review from joehoyle April 26, 2020 16:56
@rmccue rmccue merged commit 1ba513f into master Apr 27, 2020
@rmccue rmccue deleted the add-hooks branch April 27, 2020 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants