Why does my React Component Export not work?

Because your export is default you don’t need braces around your import component name:

import Hello from './hello';

Here’s a verbose technical article from Axel Rauschmayer on the final ES6 modules syntax that you might find useful.

And here’s a slightly less techy post about the same topic.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)