News for hackers. Stuff that matters.
Re:Nue.js: Rethinking Reactivity by moffkalast on Monday October 02, 2023 @04:17AM (#37735293)
The best kind of JS framework is no framework, especially for small teams.

Especially now that self encapsulating modules are a thing and server side templating can fill in html's lack of import tags. Reusable components sound great in principle, but trying to replace one that's used in 30 different locations with small nuances in each spot leads to complete debugging hell, just like typical overzealous polymorphism.

Allegedly we're even getting optional typing soon, so TS will become obsolete as well.

Re:Nue.js: Rethinking Reactivity by tipiirai on Monday October 02, 2023 @04:22AM (#37735339)
> encapsulating modules

I love vanilla JS. Are you referring to web components?

Re:Nue.js: Rethinking Reactivity by oknoorap on Monday October 02, 2023 @04:33AM (#37735421)
Speaking of web component I just created this framework a month ago, https://realm.codes
Re:Nue.js: Rethinking Reactivity by moffkalast on Wednesday October 04, 2023 @05:06AM (#37762683)
I was referring to just general JS modules that can import other modules but don't see the global scope, which was arguably the main problem with vanilla JS. But web components are awesome as well, albeit not as critical.
Re:Nue.js: Rethinking Reactivity by johnny22 on Monday October 02, 2023 @04:43AM (#37735499)
> Allegedly we're even getting optional typing soon, so TS will become obsolete as well.

I'll be surprised if tc39 allows it.