Closed CAJazzer closed 5 years ago
Trying to do asynchronous operation (Action) when component loads ( mounted() ). State does not get properly updated. Using the counter example code:
// Does not work public mounted() { store.increment(); } // Works public mounted() { setTimeout(() => { store.increment(); }, 1); }
Thanks for the report. I'll take a look at the issue and let you know asap.
Trying to do asynchronous operation (Action) when component loads ( mounted() ). State does not get properly updated. Using the counter example code: