Join Slack
Powered by
does calling growthbook.setAttributes erase the ol...
# announcements
e
enough-psychiatrist-93313
03/22/2023, 7:18 PM
does calling growthbook.setAttributes erase the old attributes and sets the new ones or is just adding the new attributes on top of the old ones?
f
fresh-football-47124
03/22/2023, 7:20 PM
it overwrites the existing attributes
fresh-football-47124
03/22/2023, 7:20 PM
if you want to add, you have to do something like setAttributes({…getAttributes(), new: value, });
e
enough-psychiatrist-93313
03/22/2023, 7:49 PM
got it. thx
@fresh-football-47124
74
Views
Open in Slack
Previous
Next