-
Notifications
You must be signed in to change notification settings - Fork 313
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
Make it easier for to use fbjs and flow together #64
Comments
Yes, @gabelevi is working on a solution to this since we need it at FB too. |
I ran into this today after updating to React 0.14 on a project. I nixed the errors by adding this to my
|
|
Gonna partially commandeer this issue. Running flow with a fresh install of fbjs gives:
because we don't currently rewrite the require paths in .flow files so you're required to have haste module resolution in order to make things typecheck. If we relativize the requires this problem should hopefully go away. |
I had the same issue with
sorry for the terrible display as I'm using git-bash on a windows box |
I don't really know if/how this could be achieved but using flow in a project using any project that uses fbjs make flow throw a lot of errors by default.
Take a simple project that uses
react
andreact-relay
. This throws 20 errors on an empty project with an empty.flowconfig
I can fix these error by mimicking the relay's
.flowconfig
but this gets really cumbersome. Is there anything that can be done to improve on this situation?The text was updated successfully, but these errors were encountered: