An open API service indexing awesome lists of open source software.

https://github.com/qjnz/re-export-override-demo

demo for es6 re-export and override any of them
https://github.com/qjnz/re-export-override-demo

es6 javascript javascript-library re-export typescript

Last synced: 3 months ago
JSON representation

demo for es6 re-export and override any of them

Awesome Lists containing this project

README

        

# ES6 Re-export override demo

Check the `src/re-export` folder and unit tests are in `re-export.test.tsx`.

The solution is from [stackoverflow](https://stackoverflow.com/questions/41293108/how-to-do-re-export-with-overrides)

```js
import { theFunction } from './myOverrides'

export * from 'some-library'
export { theFunction }
```