Closed aarhus closed 6 months ago
Totally get this, but don't love the code smell if we implement it... this.state.state
. Let's see if we can extend the native state, rather than appending it back into an alternative version of itself.
Example:
this.state = state // from constructor
Object.assign(this.state, {
...otherStuff,
})
Just tested this and it works well - I have added a "block" function to wrap to go with the easier interfaces that you have implemented.
Any progress on this? I'd love to have access to the state so I can use the websocket hibernation api
My bad on the delay of this... I'll get this one out ASAP
Unable to access the blockConcurrencyWhile through the proxy