Post
You often do not use all functions or components from a library, but they are all exported from a single barrel file. ```js // some-lib/index.js export { a } from './a'; export { b } from './b'; // more exports here [...] // main.js import { a } from 'some-lib'; ```
0 reposts6 likes