As you pointed ES6 modules
export const CONNECT_RANGE = connectRange(Range);
And when you want to consume it
import { CONNECT_RANGE } from './myModule';
As you pointed ES6 modules
export const CONNECT_RANGE = connectRange(Range);
And when you want to consume it
import { CONNECT_RANGE } from './myModule';