It seems to be obvious, but I found myself a bit confused about when to use curly braces for importing a single module in ES6. For example, in the React-Native project I am
If there is any default export in the file. There is no need to use the curly braces in the import statement.
if there is more than one export in the file then we need to use curly braces in the import file so that which are necessary we can import.
You can find the complete difference when to use curly braces and default statement in the bellow youtube video.
https://www.youtube.com/watch?v=tN-SYsGoDYo&t=130s