Closed pwlan closed 3 years ago
Can state be set in the body of an "async" callback?
Yes
Is it "allowed" to load data in this manner in the StateNotifier constructor? Or is there a better place for that code?
Sure, that's alright
Great. Thanks for the reply..... and also great framework!
Describe what scenario you think is uncovered by the existing examples/articles
Loading the state of a StateNotifier on start from an external http endpoint. There are 2 questions here:
Describe why existing examples/articles do not cover this case
I could not find any example.
Additional context
-
Maybe the answers are obvious. But I was uncertain.