pushtell / react-ab-test

A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.
MIT License
752 stars 112 forks source link

[FEATURE] Enable DebuggerPanel in Production #49

Open philals opened 6 years ago

philals commented 6 years ago

Hi

What's your thoughts on having an extra ENV variable (maybe REACT_AB_TEST_ENABLE_DEBUGGER_PANNEL) that will enable the debugger panel in production.

If you're setting this then you'll need to run experimentDebugger.disable(); at the top of your app to disable it.

I'm happy tp send PR - just want to know if it's a desired feature.