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.

We are currently trying to use Flow in every file. We have been slowly making progress but there are still a lot of errors.

If you open a PR with some Flow error fixes (or anything else) we will send you some LBC as appreciation!

Some of the biggest offenders right now are in pages/file/view.jsx and anything with subscriptions.

To see all of the errors you can run ./node_modules/.bin/flow --color always

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisza4commented, Oct 11, 2018

While I am working on this issue, I also need to fix flow type error at publishForm/view.jsx. I am working on that file.

0reactions
dannycallericommented, Oct 21, 2018

Hi @seanyesmunt , I’m opening a PR to fix a few flow errors in these view.jsx files and some other connected:

        modified:   src/renderer/component/button/view.jsx
	modified:   src/renderer/component/cardVerify/view.jsx
	modified:   src/renderer/component/channelTile/view.jsx
	modified:   src/renderer/component/common/form-components/form-field.jsx

here’s my PR: https://github.com/lbryio/lbry-desktop/issues/2024

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Suppressions - JavaScript. Flow
Flow reports many different kinds of errors for many common programming mistakes, but not every JavaScript pattern can be understood by Flow.
Read more >
Better Flow Error Messages for the JavaScript Ecosystem
Adding type annotations is a great way of telling Flow what you expect. Then Flow can give you better error messages explaining why...
Read more >
How to handle errors using Flow type hinting and Jest
So, flow can help you to find wrong call before build (usually at development time, in ide). And once you run flow in...
Read more >
Misleading value-as-type errors on type identifiers that aren't ...
Flow needs to model a third "improperly typed" category for the sake of sane error reporting. In this case Flow should be claiming...
Read more >
Flow: $FlowFixMe command should be $FlowFixYourself ...
Tagged with javascript, flowtype, react, typescript. ... So, to bypass the Flow error, we have to add $FlowFixMe before that specific line.
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