Flow type components
See original GitHub issueIt would be great to get more flow coverage over our components. Here’s a list of components that don’t have Flow in them. The docs for flow are pretty great. This would be great to tag team. If you want to grab a component comment below and we’ll assign it to you. If you have any questions hit us up on Slack in the #perf
or in this issue.
-
/components
-
/components/app
- Initializing.js (taken by @piq9117)
- ProfileFilterNavigator.js (taken by @DanielNill)
- ProfileSharing.js (taken by @DanielNill)
- TabBar.js (taken by @derekm)
-
/components/calltree
-
/components/header
-
/components/log
- ProfileLogView.js (taken by @piq9117)
-
/components/marker-table
- index.js (taken by @piq9117)
-
/components/shared
- ArrowPanel.js
- ButtonWithPanel.js
- Draggable.js
- StyleDef.js
- VirtualList.js
- WithSize.js
-
Issue Analytics
- State:
- Created 6 years ago
- Comments:32 (29 by maintainers)
Top Results From Across the Web
Components | Flow
Adding Flow types to your React components is incredibly powerful. After typing your component, Flow will statically ensure that you are using the...
Read more >How to flow type a Component? - reactjs - Stack Overflow
Show activity on this post. The type that you're looking for is called ReactClass . The type for any component would be ReactClass<any>...
Read more >Typing React Components with Flow - datarockets
There are some options for making JS type safe: TypeScript, Dart, and Flow. I'm going to describe how to use Flow in terms...
Read more >flow/types.md at main · facebook/flow - react - GitHub
This is Flow's most abstract representation of a React component, and is most useful for writing HOCs and library definitions. React.ComponentType<Props>. This ...
Read more >Always use Exact types in Flow - Notes and Anecdotes
Exact props in Flow (JS). Props shoulder be typed as a closed object, as not to allow extra parameters to be passed through....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🎉 Thanks @brisad and @derekm for the successfully merged PRs! Let me know if you all want to take any more components.
Also @DanielNill feel free to submit a PR for any work in progress if you want to get any help or feedback at this point. Nothing has to look pretty and it’s a good way for me quickly provide some insight into any hiccups.
Thanks ! You can create PR early if you have any question or need feedback ! Our data structures aren’t easy 😉
As general guidance, we try to avoid
any
as much as possible – removing existing one when we find some too.