Skip to content

fix(firebaseConnect): move hoistStatics to allow static methods to be copied - @jeloagnasin #733

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

Conversation

jeloagnasin
Copy link

@jeloagnasin jeloagnasin commented Jul 23, 2019

Description

Fixes #732

Check List

If not relevant to pull request, check off as complete

  • All tests passing
  • Docs updated with any changes or examples if applicable
  • Added tests to ensure new feature(s) work properly

@codecov
Copy link

codecov bot commented Jul 23, 2019

Codecov Report

Merging #733 into next will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             next     #733      +/-   ##
==========================================
- Coverage   82.59%   82.58%   -0.02%     
==========================================
  Files          30       30              
  Lines         977      976       -1     
  Branches      179      179              
==========================================
- Hits          807      806       -1     
  Misses        170      170

@jeloagnasin
Copy link
Author

This has worked for me. But I'm not really sure if there are any other repercussions since I'm not really familiar with hooks, context, and the inner workings of react-redux-firebase.

@illuminist
Copy link
Contributor

I'm working on overhauling firestoreConnect and firebaseConnect, will keep that in mind then.

@jeloagnasin
Copy link
Author

jeloagnasin commented Jul 23, 2019

@illuminist, looking forward to it! 😄Is there an ongoing branch/PR/issue where I can subscribe to get updates? In the meantime, I'll be using this "fix" (more like a hack) 🤣Feel free to close this PR.

@illuminist
Copy link
Contributor

https://github.com/illuminist/react-redux-firebase/tree/hook-rework

I still need a bit more cleaning up. But feel free to test it and report if you find some issue.

@jeloagnasin
Copy link
Author

Sure, I'll let you know if I find anything. I will try it on my app.

Although, I don't know where to report issues on your branch because there's no issues tab on your repo. I guess because it's forked? I think it would be best to create a PR on the main repo and tag it as WIP.

Screen Shot 2019-07-23 at 10 54 01 PM

@illuminist
Copy link
Contributor

#734 There you go

@prescottprue
Copy link
Owner

Awesome to hear, thanks @illuminist

@prescottprue prescottprue changed the base branch from next to v3.0.0-alpha.14 July 31, 2019 06:10
@prescottprue prescottprue changed the title Change position of hoistStatics fix(firebaseConnect): move hoistStatics to allow static methods to be copied - @jeloagnasin Jul 31, 2019
@prescottprue prescottprue merged commit eb716ab into prescottprue:v3.0.0-alpha.14 Jul 31, 2019
@prescottprue
Copy link
Owner

As mentioned above, #734 will be a more permeant solution

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