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.

Error when updating screen mid-navigation

See original GitHub issue

I always got this error when i’m trying to update my screen mid-navigation.

54f34f5e-5313-4e71-9662-015c6c96e438

This is the code

const Component = props => (
  <QueryRenderer
    variables={{ id: props.id }}
    query={query}
    environment={environment}
    render={({ error, props, retry }) => {
      if(error) {
        return (
          <ErrorView/>
        )
      } else if(props) {
          // got an error here
          return (
             <ComponentWithNoErrors/>
          )
      }

      return <LoadingView/>
    }}
  />
)

I have also made sure that ComponentWithNoErrors has no errors as a standalone component.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
grahammendickcommented, Aug 2, 2019

Thanks for letting me know. I forgot that layout-only Views can be removed from the hierarchy

1reaction
SatyaFarizcommented, Aug 2, 2019

Turns out I need to set collapsable to false if I want to use View. I’m closing this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested navigation not being updated, and allows to mount ...
Navigation Structure This is my parent navigator, it is using mode: 'modal', main screen is not unmounted when error screen is mounted ...
Read more >
React Navigation does not update screen upon login
I have done everything, but my problem is that the user is not automatically pushed to the Home screen. The user has to...
Read more >
Why am I getting the LST_005 Error when updating the map?
What do I do if I get an LST_005 Error when updating my SYNC ®* 3 Navigation map? ... Tap Settings on your...
Read more >
BMW 8.8 SCREEN DISPLAY MID NAVIGATION E70 X5 E71 ...
BMW 8.8 SCREEN DISPLAY MID NAVIGATION E70 X5 E71 X6 10-13 P# 65509289580 | eBay.
Read more >
Google Maps Not Talking or Giving Voice Directions? 12 ...
Update Google Maps. Voice navigation won't work in outdated Google Maps versions. Likewise, Google Maps may crash or display incorrect traffic ...
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