Skip to content

[ListView] swallows render error #1965

Closed
@fabiomcosta

Description

@fabiomcosta

When an error happens inside ListView's renderRow property the error is swallowed and never shown on the RedBox.
Ex:

<ListView
  renderRow={() => <TouchableHighlight><Text>a</Text><Text>b</Text></TouchableHighlight>}
  dataSource={dataSource}
/>

Because TouchableHighlight accepts only one child, there should be an error thrown, but what happens is that no item from the dataSource is ever rendered.

I'm using v0.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueInterested in collaborating? Take a stab at fixing one of these issues.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions