Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review component structure and pass ids to child components rather than data #75

Open
danobot opened this issue Dec 1, 2020 · 0 comments

Comments

@danobot
Copy link
Owner

danobot commented Dec 1, 2020

Follow redux best practise where more components should be connected to the store and avoid passing data via props.
Instead pass Ids via props and have comps look up their own data in the store.

Its best practise to pass ids down to child components and have child components connected to the store to fetch their own data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant