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

Add quizzes caching for tabs #187

Open
krambertech opened this issue Nov 18, 2016 · 1 comment
Open

Add quizzes caching for tabs #187

krambertech opened this issue Nov 18, 2016 · 1 comment

Comments

@krambertech
Copy link
Contributor

Now every time I change tab all quizzes are reloaded. They could be easily cached

@Matzu89
Copy link

Matzu89 commented Apr 9, 2017

@krambertech For loading default data, you could load it on server side, i.e. create function to fetch default data before/after fetching components data. To keep it isomorphic, you could also dispatch from the App lifecycle event componentDidMount for fetching the default data on the client side.

In this particular case, I guess loading quizzes per tab change is the wanted behavior: different quizzes for each tab.

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

3 participants