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

state managment #59

Open
akomiqaia opened this issue Aug 26, 2020 · 0 comments
Open

state managment #59

akomiqaia opened this issue Aug 26, 2020 · 0 comments
Labels

Comments

@akomiqaia
Copy link
Contributor

the course finds page does not have access to the state. We need to research how to pass down the state there. or do we need to fetch all the data again? sounds a bit inefficient and we need to look into gatsby how to pass down the state between pages.

For example the search bar goes to search courses page and takes a prop setSearch that is defined in index.tsx. We can have big refactoring maybe. Things might be getting a bit messy.

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

No branches or pull requests

1 participant