and-murray / wharf-spaces

MIT License
1 stars 0 forks source link

Init Resolve Usage of useSelector #2

Open cjbatin opened 4 months ago

cjbatin commented 4 months ago

Resolve all warnings related to root state usage.

Selector unknown returned the root state when called. This can lead to unnecessary rerenders.

Update related tests using redux test utils as mocking useAppSelector usage would be less clean now there are multiple calls per component.

Also it makes for nicer tests 😉