whenever you do this:
el.innerHTML += HTMLyou'd be better off with this:
el.insertAdjacentHTML("beforeend", html)reason being, the latter doesn't trash and re-create/re-stringify what was previously already there
Recent articles
- Wilson Lin on FastRender: a browser built by thousands of parallel agents - 23rd January 2026
- First impressions of Claude Cowork, Anthropic's general agent - 12th January 2026
- My answers to the questions I posed about porting open source code with LLMs - 11th January 2026