Is it possible to create Kotlin Singleton ```objec...
# javascript
p
Is it possible to create Kotlin Singleton
Copy code
object SomeGlobalState {
    val httpClient = //init HttpClient
}
to reuse it globally in Single Page App or should this be stored in GlobalContext of react ?
t
Both variants will work
p
Great Thank you
t
useConstant can be helpfull if you will use solution with
Context
, which is more clear from my side
👀 1
It will be released in next wrappers version
🙌 1
Released
🎉 1