-
Notifications
You must be signed in to change notification settings - Fork 53
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
feat(experiment): Setup Amplitude experiment & Add first dev collab experiment #1273
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}, | ||
}) | ||
.catch((error) => { | ||
console.error("Error starting experiment", error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you log this error and not the one below in prod?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one! I think I just don't need a catch, better to just use the try catch for both, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way for us to know that an Experiment is over and that we can safely remove DevCollaborationExperiment?
@hypervillain Yes, Mabel or Côme tell us it's over 😬 For me, it should also be, as soon as they archive an experiment, they tell us and create a ticket to remove the dead code. |
Context
The Solution
@amplitude/experiment-js-client
initExperiment
experimentVariant
Impact / Dependencies
Preview