Skip to content

useEntities: support multiple list keys

Alex Gleason requested to merge useentities-spread into develop

Summary

This will allow using code like:

useEntities(['GroupMembership', groupId, role], ...)

Subsequent keys get combined into a single string for use in the store. So if we have groupId: '1' and role: 'admin', the resulting list key used internally by the store would be 1:admin.

Merge request reports

Loading