Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Examples #10

Open
rawls238 opened this issue Sep 26, 2015 · 11 comments
Open

More Examples #10

rawls238 opened this issue Sep 26, 2015 · 11 comments

Comments

@rawls238
Copy link
Owner

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

@mattrheault
Copy link
Contributor

I'm on it 👍

@okeydoke
Copy link

okeydoke commented Sep 6, 2016

Yeah really stumbling to get this working based on current docs

@rawls238
Copy link
Owner Author

rawls238 commented Sep 6, 2016

What roadblocks are you running into?

@okeydoke
Copy link

okeydoke commented Sep 6, 2016

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

@rawls238
Copy link
Owner Author

rawls238 commented Sep 6, 2016

@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.

@rawls238
Copy link
Owner Author

rawls238 commented Sep 6, 2016

My best guess from the error message is that you're extending Namespace and not SimpleNamespace when constructing your namespace.

@okeydoke
Copy link

okeydoke commented Sep 6, 2016

Hmm quick question do I need both planout and react-experiments libraries? or can just include react-experiments?

@rawls238
Copy link
Owner Author

rawls238 commented Sep 6, 2016

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

1 similar comment
@rawls238
Copy link
Owner Author

rawls238 commented Sep 6, 2016

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

@okeydoke
Copy link

okeydoke commented Sep 6, 2016

Okay thanks. Got it working now

@rawls238
Copy link
Owner Author

rawls238 commented Sep 7, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants