redux-crud-store: Don't set collection to empty array when updating a record.

Whenever updating a record, selectCollection always responds an empty array and it makes my view’s empty too. What do you think if you make some changes (the record will have isUpdating or isLoading, …) so that selectCollection will give back an array

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (17 by maintainers)

Commits related to this issue

Most upvoted comments

ok try installing with this package.json line. I’m not really confident it’ll work though…

"redux-crud-store": "uniqueway/redux-crud-store#feature/workaround",

that’s interesting. 5.0.0 should remove the need for checking if it’s an array or a { data: [ … ] }. But again, I’ve got the same problem on my machine.

I don’t think I’m going to be able to solve this in the next ten hours though. Maybe I can push a workaround to a branch and you can install from Github for the moment.