whenever you do this:
el.innerHTML += HTML
you'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
- Phoenix.new is Fly's entry into the prompt-driven app development space - 23rd June 2025
- Trying out the new Gemini 2.5 model family - 17th June 2025
- The lethal trifecta for AI agents: private data, untrusted content, and external communication - 16th June 2025