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

Refactor/remove unused dispatcher code and implement useCallback #42

Merged
merged 4 commits into from
Feb 19, 2020

Conversation

kitten
Copy link
Contributor

@kitten kitten commented Feb 19, 2020

No description provided.

We can derive this from workInProgressHook.queue and
in useReducer we keep an update queue anyway.
Previously useCallback was a noop, however
this leads to confusing situations where people
rely on useCallback being a stable reference.
@codecov-io
Copy link

codecov-io commented Feb 19, 2020

Codecov Report

Merging #42 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   99.54%   99.53%   -0.02%     
==========================================
  Files           9        9              
  Lines         437      427      -10     
  Branches       70       68       -2     
==========================================
- Hits          435      425      -10     
  Misses          2        2
Impacted Files Coverage Δ
src/internals/dispatcher.js 99.02% <100%> (-0.09%) ⬇️

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 3eee22b...a3387f4. Read the comment docs.

@kitten kitten merged commit 4e557aa into master Feb 19, 2020
@kitten kitten deleted the refactor/remove-unused-dispatcher-code branch February 19, 2020 12:33
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.

3 participants