Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add usePrevious hook #103

Merged
merged 5 commits into from
Jul 13, 2024
Merged

feat: add usePrevious hook #103

merged 5 commits into from
Jul 13, 2024

Conversation

immois
Copy link
Contributor

@immois immois commented Jul 13, 2024

πŸ“ Description:

A hook that returns previous value of given state.

βœ… Pull Request Checklist:

  • Add/Update feature.
  • Add/Update test.
  • Add/Update documentation.
  • Add/Update stories in storybook.
  • Bug fix.
  • Is this a breaking change

Copy link

changeset-bot bot commented Jul 13, 2024

πŸ¦‹ Changeset detected

Latest commit: 519d06f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@raddix/use-previous Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jul 13, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 95.30%. Comparing base (78bdbbb) to head (c238bbe).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   95.22%   95.30%   +0.07%     
==========================================
  Files          25       26       +1     
  Lines         377      383       +6     
  Branches       86       86              
==========================================
+ Hits          359      365       +6     
  Misses         16       16              
  Partials        2        2              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@immois immois merged commit 8706c4d into main Jul 13, 2024
4 checks passed
@immois immois deleted the feat/use-previous branch August 4, 2024 05:16
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.

1 participant