retro
1
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)
})
Breci
2
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
retro
3
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)