-
Notifications
You must be signed in to change notification settings - Fork 525
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
docs: Update DataDog instructions #3319
Conversation
Deploy preview for docs ready! ✅ Preview Built with commit b8b3362. |
|
||
datadogRum.addFeatureFlagEvaluation("welcome-message", welcomeMessage); | ||
``` | ||
trackingCallback: (experiment, result) => { |
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.
I think this is fine, but we also have a onFeatureUsage
cb, which seems perfect for this use case. See https://docs.growthbook.io/lib/react#feature-usage-callback
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.
Oh TIL -- do you know if we have the same for all other SDKs or is this a JS only thing?
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.
Not sure TBH. Looking at the docs, it doesn't seem so, but I'd ask @madhuchavva because they'll likely have a better sense.
Features and Changes