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

Support class component (HOC) #11

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

halitogunc
Copy link

@halitogunc halitogunc commented Aug 19, 2019

This PR enables react-wait to use in a class component via injected prop #8 and also contains some refactoring stuffs that I wanted to request your comments. @f

I tested all functionality on my machine and it worked, but I didn't prepare test cases yet. This is why it is work in progress. Since tests were added, it is not the case anymore.

Waiting for the review :shipit:

@codecov
Copy link

codecov bot commented Aug 19, 2019

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #11   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      5    +3     
  Lines          23     35   +12     
  Branches        2      4    +2     
=====================================
+ Hits           23     35   +12
Impacted Files Coverage Δ
src/context.js 100% <100%> (ø)
src/provider.js 100% <100%> (ø)
src/injectWaiting.js 100% <100%> (ø)
src/hooks.js 100% <100%> (ø)

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 e2ad406...e7c30de. Read the comment docs.

@halitogunc halitogunc changed the title [WIP] Support class component (HOC) Support class component (HOC) Aug 22, 2019
@halitogunc
Copy link
Author

just sending you a kindly reminder @f

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.

None yet

1 participant