We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetchSuccess
I'm using https://github.com/paularmstrong/normalizr to normalize my data.
https://github.com/paularmstrong/normalizr
However, after that I have to transform the result into array with Object.values(normalizedData) in other to use *_FETCH_SUCCESS action.
Object.values(normalizedData)
Can we make the reduce to do something like:
dispatch(userActionCreators.fetchSuccess({ 'id1': { name: 'name1', age: 1, id: 'id1' }, 'id2': { name: 'name2', age: 2, id: 'id2' }, }))
P/S: This change request may cause the conflict with current logic where we dispatch the event for only 1 item instead of array.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using
https://github.com/paularmstrong/normalizr
to normalize my data.However, after that I have to transform the result into array with
Object.values(normalizedData)
in other to use *_FETCH_SUCCESS action.Can we make the reduce to do something like:
P/S: This change request may cause the conflict with current logic where we dispatch the event for only 1 item instead of array.
The text was updated successfully, but these errors were encountered: