hapi-universal-redux icon indicating copy to clipboard operation
hapi-universal-redux copied to clipboard

Clientside JS errors don't appear to be shown.

Open antony opened this issue 8 years ago • 1 comments

Hi,

I've just started using this project as I try to get up to speed on React.

What i've noticed (since I'm making a lot of errors), is that if I mess up certain things in /src/components, I am not notified anywhere about the cause or even that there is an error.

For instance I imported a library incorrectly, using import xyz from ... rather than import default - I see that in the console, but if I have a method with some invalid syntax, I don't see it.

I would expect the console to show a compile error as I believe the scripts are being run through babel which would catch it.

This seems like a bug. It's making progress very difficult.

antony avatar Mar 05 '16 21:03 antony

That really is a pain. But to be honest I'm not sure how to fix this. Any ideas? You could use something like Flow to do type checking.

luandro avatar Mar 06 '16 23:03 luandro