React-sketchapp: Is flow currently beneficial to this project?

Created on 15 May 2018  路  6Comments  路  Source: airbnb/react-sketchapp

My exposure to flow is still fairly new (this project being the only exposure I have). As I was attempting to wire up my IDE, I realized that not all of the files within the react-sketchapp utilize flow.

I attempted to add the flow flag to the top of types.js and was greeted with 146 errors. Coupled with the fact that recent updates have mostly skirted around flow by repeatedly using the any type, I wonder how much use we are actually getting out of flow.

Broad question, is flow beneficial to us as it is currently being used, or is it a burden?

cc @ljharb @mathieudutour

question

Most helpful comment

Sounds good @ljharb. I'll create a new issue to clean up the flow types. From my initial investigation, it looked like it may be substantial work to get everything back in a good place. I'm a little skeptical that anyone will want to put in the time, but hopefully I will be surprised 馃槉

Thanks for your input.

Do you think this issue should stay open and revisited if we don't see any movement on cleaning up the flow types, or shall I close it now?

All 6 comments

Before deciding it's not worth it, it's probably a good idea to clean up the types - add types for everything, remove all "any" types usage that one can, and then evaluate how much it's helping?

Sounds good @ljharb. I'll create a new issue to clean up the flow types. From my initial investigation, it looked like it may be substantial work to get everything back in a good place. I'm a little skeptical that anyone will want to put in the time, but hopefully I will be surprised 馃槉

Thanks for your input.

Do you think this issue should stay open and revisited if we don't see any movement on cleaning up the flow types, or shall I close it now?

I think it's worth keeping it open

Hey @jaridmargolin, although I don't have experience with Flow, I would definitely be willing to learn about it and help out in this matter if you're still looking for help. Would need a bit of guidance on where to start and stuff though as I'm completely new to this particular project. Is there an issue or something where I can see the current progress?

@Keraito all help is greatly appreciated. I created the issue #341 to track progress. As far as getting started, the flow documentation does a pretty good job introducing the core concepts.

Thanks! Will read up on all the stuff and try to help asap!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jongold picture jongold  路  8Comments

yu-tou picture yu-tou  路  5Comments

tafelito picture tafelito  路  4Comments

blechatellier picture blechatellier  路  7Comments

tysoncadenhead picture tysoncadenhead  路  7Comments