Skip to content

componentWillCatch #8

Description

@davidmarne

react 16 has a cool concept called componentWillCatch which allows the user to define a fallback component to render if an error is raised during the render process.

Add a componentWillCatch to the Component class & call componentWillCatch if render throws.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions