question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flow type components

See original GitHub issue

It 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

    • /components/calltree

      • FilterNavigatorBar.js (taken by @brisad)
      • ProfileCallTreeFilterNavigator.js (taken by @brisad)
      • ProfileCallTreeView.js (taken by @brisad)
    • /components/header

      • OverflowEdgeIndicator.js (taken by @brisad)
      • ProfileThreadJankOverview.js (taken by @brisad)
      • ProfileThreadTracingMarkerOverview.js (taken by @brisad)
      • SelectionScrubberOverlay.js (taken by @brisad)
      • ThreadMarkerOverlay.js (taken by @brisad)
      • ThreadStackGraph.js
      • TimeRuler.js
      • TimeSelectionScrubber.js
    • /components/log

    • /components/marker-table

    • /components/shared

      • ArrowPanel.js
      • ButtonWithPanel.js
      • Draggable.js
      • StyleDef.js
      • VirtualList.js
      • WithSize.js

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:32 (29 by maintainers)

github_iconTop GitHub Comments

4reactions
gregtatumcommented, Jul 11, 2017

🎉 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.

3reactions
julienwcommented, Jul 6, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found