-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Persistent sidebar [Question] #3891
Comments
Duplicate of #88 |
|
Thank you @postor. For this project, I skipped Redux in favor of unstated (just for global user data etc.). I did this using HOC. just like with-intl example, on server I fetch the data from API and on client read the data from |
We need a sidebar which is a category tree of an e-commerce site, fetched from DB(pls check this example - ffshop : left menu - building the next version of it).
This should only load once - at very first time (server rendered) like react router example
How can I fetch this initially - using HOC? I use layout component and also checked HOC
I think this may be related to #3461, #3552.
next.js match in every aspect of our need but looks like it falls a bit short in this use case. Building another site which also requires rendering dynamic menu from DB. I would like to contribute.
The text was updated successfully, but these errors were encountered: