reducers - myMerge is converting arrays [] into objects #46
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MichaelContento/redux-storage#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The bug is in https://github.com/michaelcontento/redux-storage/blob/master/src/reducer.js#L36
lodash
isObject([])returns true, and so it is merged into {}that's awesome thanks!