Skip to content

Instantly share code, notes, and snippets.

@danwbyrne
Created October 25, 2018 22:59
Show Gist options
  • Save danwbyrne/984f072bd0f59ff33cd24d9d2c4bf046 to your computer and use it in GitHub Desktop.
Save danwbyrne/984f072bd0f59ff33cd24d9d2c4bf046 to your computer and use it in GitHub Desktop.
Const Dynamic Exports With Collisions
import { bar } from './childTwo';
const barInternal = bar;
export const foo = barInternal;
export const fizz = 'bang';
const barInternal = 'bar';
export const bar = barInternal;
export { foo } from './parent';
export { foo } from './childOne';
export const parent = 'parent';
const s55 = 'bar';
const bar = s55;
const fizz = 'bang';
const sc1 = bar;
export const foo = sc1;
const fizz = 'bang';
const parent = 'parent';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment