How does custom state work

Hey. Could you explain plz if I set custom state as dynamic text how does it work with different users if they do some actions that changed custom state’ value at the same time?

Hi there, @zelftb… the short answer is a custom state’s value is specific to the current user (or, more accurately, the user’s client/browser). So, no, multiple users would not be changing the same custom state’s value at the same time.


1 Like

Also important to note that state will reset upon every page refresh.

1 Like

Cool. Thanx, man!

1 Like

Yep! Ok!

Slight correction. Custom state is at the client (browser level). It is not specific to a user. If same user opens the same url in different tabs or in different browser, custom state in that tab would be specific to the value in that particular tab.