How to store data on the configuration service from a react front end?

hello.

I was looking at these two examples, and can’t figure it out

I need to store data on the configuration service from a react front end.

Also, what does this do,

  this.twitch.onContext((context,delta)=>{
                this.contextUpdate(context,delta)
            })

Simply use
window.Twitch.ext.configuration.set('broadcaster',version,content)

And the method you asked about simply call contextUpdate and change the state according to the new data when the context is updated on Twitch site

1 Like

Ok, thank you

What is version? And is content any specific data type?

Edit: Oh, it’s on the docs:

twitch.ext.configuration.set: void function (segment: String, version: String, content: String)