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
Improve development time application reload #239
Conversation
…red to avoid artifacts. It still does not render every frame
…g is not reliable)
…oot and data in old
This reverts commit 0a66513.
I just had a play around with this. It mostly worked nicely: it is good to be able to keep the same window and model 😄 One issue I had is that I had to save a file twice before the UI updated: the first time I saved the file, ghci printed |
@Dretch wow, I missed this too 😞. I was reviewing this PR in order to merge it and saw the comment. I wonder if it's related to not having the Thanks for testing it! |
This PR implements several improvements to the development workflow:
To take advantage of the model reuse feature, applications need to provide a new configuration attribute. If the model implements a derived version of
Show
, it can be enabled as follows:The
appModelFingerprint
function receives a function from the model's type toString
. Details can be found here.