1) set state for contents
Main Component
> query > get data > redux saga > set data to initialState of Redux
2) get datas for Ships, Rockets
> get state from redux after getting the data by queries
How Can we get the info in Redux store as fast as we can ?
Assign unique Id to each datas
Which means, rather than using Array , use Object that wraps the entire data with each id assigned to it
With this approach, we are able to approach to each data with unique Ids, rather than looping thourgh the array of datas
Link
https://www.pluralsight.com/guides/deeply-nested-objectives-redux