Skip to content

How to reset layout changes when the <Layout> component unmounts? #457

Answered by nealus
viconx98 asked this question in Q&A
Discussion options

You must be logged in to vote

The layout is defined in the model which is changed by the gui as you move tabs etc.

To reload the model use Model.fromJson(jsonModel) to create a new model from your static json for each page.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@viconx98
Comment options

Answer selected by viconx98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants