correct way to export a constant
export const ConnectedRange = connectRange(Range);
exports.ConnectedRange = connectRange(Range);
I would recommend using the ES modules syntax, and compiling to common JS if the environment you run your code on does not support ES modules.