Is it possible to export a dictionary discretely? By discretely I mean that each (key, value) will be exported independently of the other values, and will be able to be imported independently.
For example, if I have this object in a module:
const obj = {one: 'two', three: 'four'}
I want to be able to import its values from another file like this:
import {one} from './module'
import {three} from './module'
But obviously, I don't want to explicitly export each key/value manually.
importstatements will do what you expect. - Pointy