-
Notifications
You must be signed in to change notification settings - Fork 5
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
without decorators #1
Comments
Hey, thanks for taking the effort submitting the issue and the PR 👍 I'm not sure if I'm following though, can you send more details on what error you're getting? As far as I can see there shouldn't be anything needing the |
Hi Julian, I could e wrong - like I said, I'm newer to the react/es6 framework. I remember trying using the firestore as a plain hoc without the decorator in create-react-app and having an error. I'll try it again on monday. |
Yeah, not saying you're wrong, very possible that there is an issue. If you could post the error message you're getting would be really helpful 😊 |
Hey Julian, from what I read, I can say this is a suggestion to make the library easier to use and it is 'not' a bug or issue report. So there is no error as well. Jim is suggesting you a solution that removes the urge of using decorators. @jim-obrien-orig correct me please if I am wrong. |
Howdy,
Thanks for the library - it's very useful. It would be more useful, though, if it didn't have decorators, because getting them to work is a pain.
I ended up pulling out the hoc - withFirestore and using auto-bind as follows:
and then using it as follows:
The text was updated successfully, but these errors were encountered: