Skip to content

Instantly share code, notes, and snippets.


hinata azzahra hinata4zzahra

  • bondowoso, jatim
View GitHub Profile
View gist:3280627b73c109c16739970bd9210329
// B.js
import A from './A' //this is a default import, It only works if A has the default export
// A.js
export default 93
View gist:609d6a33d92b80eaab18aca6aaf3c80f
// B.js
import { A } from './A'
import { myA } from './A' // Doesn't work!
import { Something } from './A' // Doesn't work!