In this thread I will ask stupid questions about Redux.
Question 1
I'm trying to call an API from a form using redux-form. Do I dispatch an action inside the "handleSubmit" function, and then another one when the call returns?
Does that make any sense? I can't find an example online that uses an API call.
Edit: Or maybe the first action calls the second action when the api call returns?
Question 1
I'm trying to call an API from a form using redux-form. Do I dispatch an action inside the "handleSubmit" function, and then another one when the call returns?
Does that make any sense? I can't find an example online that uses an API call.
Edit: Or maybe the first action calls the second action when the api call returns?