how to denormalize entities from redux store?
问题 i have a data state in redux store like: { 123: { a: 'abc' }, 456: { a: 'def' }, 789: { a: 'ghi' }, } this is an array of objects like: const trainersArray= [ { _id: 123, a: 'abc' }, { _id: 456, a: 'def' }, { _id: 789, a: 'ghi' }, ] export const trainer = new schema.Entity( 'trainers', {}, { idAttribute: '_id' } ); const { trainers: normalizedTrainers } = normalize(trainersArray, [ trainer, ]).entities; now i want to denormalize like below in a component but i just don't get it? const