Channels
contributing
sdk-kotlin
sdk-react
sdk-javascript
sdk-java
request-features
sdk-php
sdk-python
sdk-golang
sdk-swift
sdk-c-sharp
random
sdk-ruby
ask-questions
give-feedback
announcements
sdk-flutter
Powered by
#announcements
Title
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
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
Post