Skip to content
Discussion options

You must be logged in to vote

Not only the init code is async, it's not on the main thread, on a background thread — there's no UI on that thread, hence no cx.
Instead, cx.spawn should be used.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by so1ve
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants