Skip to content

[ListView] Cryptic errors from renderHeader and renderSectionHeader #1379

@ccheever

Description

@ccheever

If you try throwing an error from an implementation of renderRow or renderSectionHeader in a ListView, you get a very cryptic error message with a stack trace that doesn't point to the problematic code at all.

A similar problem also occurs if either of those methods returns undefined.

It would be good if those weren't so cryptic (maybe wrapped in a try/catch?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions