lndr-mobile icon indicating copy to clipboard operation
lndr-mobile copied to clipboard

Components are currently accessing store state without using a selector/filter

Open TheAznShumai opened this issue 7 years ago • 0 comments

screen shot 2018-01-10 at 2 42 35 pm

We have instances where we are not defining what the component requires to operate. Instead of describing what the components uses, we are pulling all the data magically from the redux storage. The common pattern for this is to write a selector/filter that pulls out the data appropriately like getUser does in the image above.

TheAznShumai avatar Jan 10 '18 22:01 TheAznShumai