News for hackers. Stuff that matters.
Re:Web Components Eliminate JavaScript Framework Lock-In by stickfigure on Monday November 27, 2023 @01:42PM (#38436317)
It doesn't seem to work at all in Chrome, so maybe not the best example.
Re:Web Components Eliminate JavaScript Framework Lock-In by QuadmasterXLII on Monday November 27, 2023 @02:31PM (#38437030)
Ah, global variables in modules have to be declared with var etc in chrome, but firefox and safari let it slide if you just assign. Fixed, but I guess I’m gonna have to set up a test suite