String based HTML building
String based HTML building
Posted May 10, 2026 4:30 UTC (Sun) by khim (subscriber, #9252)In reply to: String based HTML building by pabs
Parent article: Forgejo "carrot disclosure" raises security questions
> Probably the JavaScript ecosystem needs to deprecate and remove string based HTML building methods altogether.
And replace it… with what exactly?
> DOM based HTML building (document.createElement and friends)Are entirely unsuitable for responsible interface. Because browsers don't have analogue of WM_SETREDRAW.
In an ideal world something like this would have been added decades ago… but in our world we have browsers with support for USB controllers and Bluetooth… but without sensible way of doing responsive UI except via crazy hacks.
