You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
I've been using the previous version of this project for about a month now and wanted to thank you for all your great work so far! I learned a lot while reading through the code in this repo.
What is the current behaviour?
While reading through the new code, I noticed that Flow throws the error:
flow says identifier Component: Too few type arguments. Expected at least 1
in a few locations if class components don't have "<Props>" and/or "<State>" type arguments after the Component keyword and before the opening curly brace.
Other information
I've made the corrections in this #134 should you choose to add them to the project.
Cheers!
The text was updated successfully, but these errors were encountered:
Hello @marcbouchard,
Thank you for your feedback and interest :)
Flow team regularly change React API, sometimes even official Flow docs are incorrect. I'm going to review changes as soon as possible. Thanks for PRs!
#134 was merged into dev. lines props: Props are unused, because we already defined Component<Props>. I'll fix it later and push from dev to master. Thanks for both good PRs :)
I'm submitting a ...
Bug Report:
Hello Vladimir,
I've been using the previous version of this project for about a month now and wanted to thank you for all your great work so far! I learned a lot while reading through the code in this repo.
What is the current behaviour?
While reading through the new code, I noticed that Flow throws the error:
in a few locations if class components don't have "<Props>" and/or "<State>" type arguments after the Component keyword and before the opening curly brace.
Other information
I've made the corrections in this #134 should you choose to add them to the project.
Cheers!
The text was updated successfully, but these errors were encountered: