0👍
Just posting this in case anyone runs into this issue – the issue was indeed a race condition. I fixed it by writing the action that commits the user_id
as a promise and then changing the second action that requires the user_id
to only dispatch when the promise resolves, following this comment: https://stackoverflow.com/a/40167499/12462293
- [Vuejs]-Get all selected values on change with VueJS 3
- [Vuejs]-Vue Form Components and Conditional Rendering Overhead
Source:stackexchange.com