News for hackers. Stuff that matters.
Re:Show HN: Devpen – Markdown Editor with GitHub Style by amelius on Saturday June 09, 2018 @09:31AM (#17272922)
Implementation question: does it re-render the entire content on every keystroke? Or is it smarter, and does it re-render only the changed bits?
Re:Show HN: Devpen – Markdown Editor with GitHub Style by kukuhsain on Saturday June 09, 2018 @10:00AM (#17273049)
Yes, re-render the entire content of the Preview side. Not smart yet. Re-rendering only the changed part would be great. I also thought that way, might take quite long time to implement it. So publish now, and improve performance later. So that I know if my solution is really needed by lots of people, before going deep. Thanks anyway :)
Re:Show HN: Devpen – Markdown Editor with GitHub Style by atlasduo on Saturday June 09, 2018 @09:48AM (#17272999)
Judging by React Dev tools with highlighting updates, the whole app updates on keystroke. Even the logo in the top left is flashing.