This would be avoided if Notepad was implemented in React Native for Windows.
Speaking about the calculator app, did you know it is OpenSource[2]? You can only compile to windows as of now though
Why? I suppose if your render() function had something like
showAstrix = this.state.editorBuffer != this.state.savedBuffer
then it wouldn't be subject to the bug, but the performance would be terrible if you're editing a large file. To get good performance you'd need to use a flag and update it accordingly, which will subject you to the same bug.I would drop everything and try to compromise a nested dependency
So no, best option create a new editor, but there are 1000 editors out there.
look at sublime text 4.. its pure opengl. fast, and epic done right.
[1] http://kylehalladay.com/blog/2020/05/20/Rendering-With-Notep...