structor icon indicating copy to clipboard operation
structor copied to clipboard

Windows: Does not save my last change/edit

Open Diniden opened this issue 9 years ago • 2 comments

If I go into structor: edit a property or a text field then refresh the page my last edit is dropped. Pretty annoying if I want a quick tweak then move onto something else.

It does save my edits, but after looking at model.json in the desk folder, it is always one step behind where I am.

Diniden avatar Jun 30 '16 21:06 Diniden

@Diniden this is one step behind because of adding a component with runtime error (which could not be caught - there is still problem with that in React) you'll have an empty screen and it is not always clear what is happened. So, the next time you load page you will not be frustrated by that error.

ipselon avatar Jul 03 '16 09:07 ipselon

Understandable. It may be a lot of extra work, but you can look into the code base of mobx. The creator of that project had a very unique solution to this and reports run time errors back to you when one exists. If you implemented something like this, the editor would be able to undo the errored component or replace the errored component with a

that indicates an error.

Diniden avatar Jul 13 '16 21:07 Diniden