mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
It's the recommended approach in Redux docs, and more performant (key-based). It'll also simplify a move to Immutable.js later on. The PHP APIs still return unkeyed data, which is standard REST API behaviour, but for Redux state we transform it to be keyed.