Replies: 1 comment 1 reply
-
Hi @pswu11 I guess this is a matter of understanding how to tell your React application to rerender the editor on route change, not really related to GrapesJS itself. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm quite new to the project and I really like it!
I've implemented GrapeJS in a React project where I have several web projects per user with dynamic routing such as
url/projects/:projectId
.For each project, I saved the project to localStorage as
gjs-${projectId}
at the moment, but I'm facing a problem - when user navigates to different routes (switching to another project), the<GjsEditor />
won't reload the the design from respective localStorage unless I reload the page.Is there anyway to trigger the reload of this component (including storageManager) without reloading the whole page?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions