Skip to content

Instantly share code, notes, and snippets.

View hinata4zzahra's full-sized avatar

hinata azzahra hinata4zzahra

  • bondowoso, jatim
View GitHub Profile
// 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
// B.js
import { A } from './A'
import { myA } from './A' // Doesn't work!
import { Something } from './A' // Doesn't work!