Last active
April 9, 2017 19:32
-
-
Save tj/4c3b9439939fa030665b496f1b97ee3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' // export default React | |
import React, Component from 'react' // first is default, followed by exported | |
import foo from 'lib' // no default, so just grab all exports | |
// Maybe there's some reasoning behind the other choices regarding static analysis but | |
// most of the otheres seem unnecessary. Alternatively just using the destructuring syntax | |
// would be pretty nice and easier to remember. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment