Skip to content

Issue while implementing Error Boundaries #8

@akshay2742

Description

@akshay2742

Facing a issue while throwing a new error in Hero.js file

I used

if(heroName === 'Joker')
{
   throw new Error ('Not a Hero!')
}

but it does not throw the error it is showing blank screen

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