UNPKG

redux-ab-test

Version:

A/B testing React components with Redux and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for React, Redux, and Segment.io

15 lines (12 loc) 331 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var experimentKey = function () { function experimentKey(experiment) { return experiment.get('id', null) || experiment.get('name', null); } return experimentKey; }(); exports['default'] = experimentKey; module.exports = exports['default'];