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: new hook useRafCallback #66

Merged
merged 1 commit into from
May 18, 2021
Merged

feat: new hook useRafCallback #66

merged 1 commit into from
May 18, 2021

Conversation

xobotyi
Copy link
Contributor

@xobotyi xobotyi commented May 16, 2021

What new hook does?

Makes passed function to be called within next animation frame.

Checklist

  • Have you read contribution guideline?
  • Does the code have comments in hard-to-understand areas?
  • Is there an existing issue for this PR?
  • Have the files been linted and formatted?
  • Have the docs been updated?
  • Have the tests been added to cover new hook?
  • Have you run the tests locally to confirm they pass?

@codecov
Copy link

codecov bot commented May 16, 2021

Codecov Report

Merging #66 (ba48ee2) into master (5c766bf) will not change coverage.
The diff coverage is 100.00%.

❗ Current head ba48ee2 differs from pull request most recent head 1db581d. Consider uploading reports for the commit 1db581d to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##            master       #66   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        24    +1     
  Lines          282       303   +21     
  Branches        55        58    +3     
=========================================
+ Hits           282       303   +21     
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)
src/useRafCallback.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c766bf...1db581d. Read the comment docs.

@xobotyi xobotyi requested a review from JoeDuncko May 18, 2021 14:48
@xobotyi xobotyi marked this pull request as ready for review May 18, 2021 14:48
@xobotyi xobotyi added the 🎂 new hook New hook added label May 18, 2021
@xobotyi xobotyi merged commit 9e2255e into master May 18, 2021
@xobotyi xobotyi deleted the useRafCallback branch May 18, 2021 15:11
github-actions bot pushed a commit that referenced this pull request May 18, 2021
# [1.20.0](v1.19.0...v1.20.0) (2021-05-18)

### Features

* new hook `useRafCallback` ([#66](#66)) ([9e2255e](9e2255e))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants