You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ab-test-jsx

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-test-jsx - npm Package Compare versions

Comparing version

to
1.1.0

14

package.json
{
"name": "ab-test-jsx",
"description": "React (JS) AB testing consumption",
"version": "1.0.1",
"version": "1.1.0",
"license": "MIT",

@@ -29,11 +29,11 @@ "author": "Maciej Malkowski <monkey3310@gmail.com>",

"peerDependencies": {
"react": "16.8.6"
"react": "^16.8.6"
},
"devDependencies": {
"@testing-library/react": "8.0.6",
"@types/react": "16.8.23",
"@testing-library/react": "9.1.2",
"@types/react": "16.8.25",
"nodecat": "2.0.0",
"react": "16.8.6",
"rimraf": "2.6.3",
"rollup": "1.17.0",
"react": "16.9.0",
"rimraf": "2.7.0",
"rollup": "1.19.4",
"rollup-plugin-babel": "4.3.2",

@@ -40,0 +40,0 @@ "rollup-plugin-node-resolve": "5.0.1",

[![npm](https://img.shields.io/npm/v/ab-test-jsx.svg)](https://www.npmjs.com/package/ab-test-jsx)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/ab-test-jsx.svg)](https://bundlephobia.com/result?p=ab-test-jsx)
[![Build Status](https://travis-ci.org/matmalkowski/react-handyman.svg?branch=master)](https://travis-ci.org/matmalkowski/react-handyman)
[![Coverage Status](https://coveralls.io/repos/github/matmalkowski/react-handyman/badge.svg?branch=master&service=github)](https://coveralls.io/github/matmalkowski/react-handyman?branch=master)
[![codecov](https://codecov.io/gh/matmalkowski/react-handyman/branch/master/graph/badge.svg)](https://codecov.io/gh/matmalkowski/react-handyman)
[![Greenkeeper badge](https://badges.greenkeeper.io/matmalkowski/react-handyman.svg)](https://greenkeeper.io/)

@@ -23,3 +23,3 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

> 👉 `ab-test-jsx` is a consumer library for AB tests, provide results of allocation to running tests on the client. It's advised to allocate on the server-side and simply hydrate the application with allocation state on first render.
> 👉 `ab-test-jsx` is a consumer library for AB tests, provide results of allocation to running tests on the client. It's advised to allocate on the server-side and simply hydrate the application with allocation state on first render.

@@ -84,3 +84,3 @@ `ab-test-jsx` uses the ContextAPI to provide allocation information to components via Components/Hook/HOC. Set-up the ContextAPI provider before consuming the AB test allocation results in child components. Either use `ABTestsProvider` or the higher order component - `withABTestsProvider`

> 💡 Note that when composing AB tests, don't keep A & B variants of `<ABTest /> next to each other, as well you are not limited to single usage. It's possible to wrap as many children as needed as long as they are in same tree as Context Provider
> 💡 Note that when composing AB tests, don't keep A & B variants of `<ABTest /> next to each other, as well you are not limited to single usage. It's possible to wrap as many children as needed as long as they are in same tree as Context Provider

@@ -87,0 +87,0 @@ ##### API