AppLayoutToolbar with react-router-dom #3880
Replies: 1 comment
-
Hi, In order to avoid the entire app layout toolbar from reloading, I would recommend to have one single instance of AppLayoutToolbar and use React suspense for asynchronously loading the content inside it, instead of the AppLayoutToolbar itself. Hope this helps. Feel free to reopen if you face any issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am having a problem but not sure how to do it exactly.
I am using Cloudscape to make Dashboard page, I am having problem using AppLayoutToolbar with react-router-dom.
For example, I have a sidebar on the left and content on the right. Should I put the AppLayoutToolbar in the layout file to use together or use the AppLayoutToolbar for each individual page? I am using it in combination with React Suspense and lazy --> if used together, the unmounted component will show fallback.
Hope to receive help.
Beta Was this translation helpful? Give feedback.
All reactions