I searched the issues and didn't find a similar issue.

Is it possible to use a selector within an action creator?

For instance, if I had a forms reducer and wanted to get values from a specific 
formId.

export const updateModule = moduleId => (dispatch, getState) => {
    const moduleUpdates = formSelector(getState(), moduleId); return 
axios.post(${API_URL}/modules/${moduleId}, moduleUpdates);

}; I'm sure it would function (not throw), but are there any repercussions 
using the selector here?

Reply via email to