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

6 lines (4 loc) 258 B
// Immutable Helpers import Immutable from 'immutable'; export const immutableExperiment = ({experiment}) => Immutable.fromJS({experiment}); export const immutableExperimentVariation = ({experiment, variation}) => Immutable.fromJS({experiment, variation});