Sep 4, 2018 · 1 min read
You can also use await setPromiseState(this, newstate)
Then there is no need for wrapper
Like he done here:
https://github.com/soenkekluth/react-state-promise
You can also use await setPromiseState(this, newstate)
Then there is no need for wrapper
Like he done here:
https://github.com/soenkekluth/react-state-promise