re: I have an "Unreachable Code Detected" Error in my React app - How to fix? VIEW POST


Unreachable code is quite literally code that cannot be reached at any point while executing. This could be cause by an if statement that will never evaluate to true or a function returning or throwing an error early on in a function meaning any code after that will never be executed

I'm not familiar with react but it looks like your issue is the bit after your /> tag shouldn't be there, but I'm not sure

Code of Conduct Report abuse