Open rawls238 opened 9 years ago
I'm on it :+1:
Yeah really stumbling to get this working based on current docs
What roadblocks are you running into?
Trying to work my way through http://product.hubspot.com/blog/product-experimentation-with-planout-and-react.js but there seems to be some implied knowledge about configuring an experiment.
Currently getting an error with uncaught exception: IMPLEMENT get
not sure how I'm supposed to configure the experiment
@okeydoke you should follow the instructions here for configuring the experiment: https://github.com/HubSpot/PlanOut.js
Let me know if you still have any issues.
My best guess from the error message is that you're extending Namespace
and not SimpleNamespace
when constructing your namespace.
Hmm quick question do I need both planout
and react-experiments
libraries? or can just include react-experiments
?
You can just include react-experiments
but you would need to construct your own Experiment
class that extends this class: https://github.com/HubSpot/react-experiments/blob/master/src/Experiment.js.
However, if you're not already using another experimentation framework it's highly recommended to use PlanOut. The main usecase for extending the class is to be able to use react-experiments
with an experimentation framework you're already using
You can just include react-experiments
but you would need to construct your own Experiment
class that extends this class: https://github.com/HubSpot/react-experiments/blob/master/src/Experiment.js.
However, if you're not already using another experimentation framework it's highly recommended to use PlanOut. The main usecase for extending the class is to be able to use react-experiments
with an experimentation framework you're already using
Okay thanks. Got it working now
This probably should be clarified via an example. I will try to do this this week. Thanks for pointing out the potential confusion there @okeydoke
Would be great to have a few more concrete examples, especially examples with namespaces.
Would also be cool to have a simple interactive app that generates the jsx for a particular experiment definition
cc @mattrheault