Socket
Socket
Sign inDemoInstall

redux-resource

Package Overview
Dependencies
3
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

3.1.1

Diff

jmeas
published 3.1.0 •

Changelog

Source

redux-resource@3.1.0

New Features

  • getResources now supports a third argument, options. Pass { byId: true } to receive the resources as an object rather than an array.

10/14/19

jmeas
published 3.0.5 •

Changelog

Source

redux-resource@3.0.5

Bug Fixes

  • instanceof Array calls have been replaced with Array.isArray to improve support for multiple global environments.

7/31/18

jmeas
published 3.0.4 •

Changelog

Source

redux-resource@3.0.4

Bug Fixes

  • Fixes an issue where the DELETE_RESOURCES action type could log an invalid warning message to the console in certain situations.
jmeas
published 3.0.3 •

Changelog

Source

redux-resource@3.0.3

Bug Fixes

  • Fixes an error that was thrown in certain environments, such as React Native
jmeas
published 3.0.2 •

Changelog

Source

redux-resource@3.0.2

Bug Fixes

  • The actionTypes export has been fixed. It was not exporting UPDATE_RESOURCES nor DELETE_RESOURCES.

4/18/18

  • All libraries have been updated to allow for Redux@4 as a peer dependency.

4/17/18

jmeas
published 2.4.2 •

jmeas
published 3.0.1 •

jmeas
published 3.0.0 •

Changelog

Source

redux-resource@3.0.0 Migration guide

Breaking Changes

  • The NULL request status has been renamed to IDLE. The request action types (such as READ_RESOURCES_NULL) have been updated to reflect this new name.

  • As a consequence of the above change, getStatus will now return an object with an idle key rather than a null key.

  • The deprecated getResources() signature that accepted three arguments has been removed.

  • Omitting a filter when calling getResources now returns all of the resources in the slice.

  • Four action types have been reserved for a future minor release of Redux Resource: REQUEST_IDLE, REQUEST_PENDING, REQUEST_SUCCEEDED, and REQUEST_FAILED. Using these action types will cause a warning to be logged, and will conflict with an upcoming update to the library.

New Features

  • The resourceType is now stored on the resource slice.

  • There are two new action types for directly modifying resource data independent from requests: UPDATE_RESOURCES and DELETE_RESOURCES.

Deprecations

  • Using the resourceName property on actions. Use resourceType instead.
jmeas
published 3.0.0-beta.6 •

234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc