Javascript – How to normalize the array of object for performance
I'm trying to learn Normalization concept using object. I'm having doubt in that Normal Array of Object: const state = { users: [ { id: 1, name: "Alice", posts: [{ id: 101, title: 'Post 1', comments: [{ id: 202, text:…