In ES6 a module can export multiple things by prefixing the keyword export or one thing by using Default.
You can import either the entire module or using its named exports.
The difference is knowing how to use this correctly and reading the module documentation to do the imports correctly. Most times, the module documentation is not entirely clear and you might get into errors that might take you for a spin.
Here is a react-router error that I recently faced in using the functionality.
Warning: Failed propType: Invalid prop children supplied to Router. Check the render method of Header.
browser.js:50 Warning: Location “/” did not match any routes
***
Below is the code before and after on how to fix these types of issues.
Importing an entire module causes an issue, as expected
Fix: Importing just the Link named method from the react-router module