This might just be a usage/familiarity issue but: it seems like if you have an async event you only have access to the state after the promise is unwrapped. If you wanted to set a user id as a state property and then load it with a REST call, you have to pull the state id property then feed it in as an external parameter. Is this true, or am I missing something here?
This might just be a usage/familiarity issue but: it seems like if you have an async event you only have access to the state after the promise is unwrapped. If you wanted to set a user id as a state property and then load it with a REST call, you have to pull the state id property then feed it in as an external parameter. Is this true, or am I missing something here?