Here is my code:
import {Select} from './select'
export {Select} from './select'
Select()
the script imports the function Select
and re-exports it. It also calls the function.
Is there way to combine the import and export statements?
2
Here is my code:
import {Select} from './select'
export {Select} from './select'
Select()
the script imports the function Select
and re-exports it. It also calls the function.
Is there way to combine the import and export statements?
2