Vaguely related to T15734: CSS modernization (umbrella task). Phorge uses some pretty idiosyncratic JavaScript patterns which are not particularly developer friendly.
My thinking on this is currently not very well defined but I'd like to hear what others think about this.
While I would be fully against converting to something like React, I do feel like our JavaScript infrastructure could benefit from modernization. I'm a big fan of Web Components, so that's probably the direction I would most like to see, along with maybe a touch of TypeScript.