Skip to content

Hook equivalent to componentDidCatch #136

@coding-with-binaries

Description

@coding-with-binaries

Is there any way I can use a hook equivalent to componentDidCatch so that to handle some specific use case in a functional component I don't have to create an error boundary component every time and bloat my tree.

Plus it will also be an elegant way to handle errors in functional components

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions