News for hackers. Stuff that matters.
Re:Nue.js: Rethinking Reactivity by meiraleal on Monday October 02, 2023 @05:20AM (#37735788)
> It is _absolutely_ an ES6 variable.

> Nue transpiler takes the code between the script tags and creates a true ES6 class instance from it.

the second phrase negates the first. It will be a ES6 variable, it isn't.

Re:Nue.js: Rethinking Reactivity by tipiirai on Monday October 02, 2023 @06:32AM (#37736356)
Please read the article and the section "Reactivity under the hood": https://nuejs.org/blog/rethinking-reactivity/#reactivity-und...

You'll see that the compiled code is pure JS and parsed by the JS interpreter on the browser, unlike the parent commenter states.

Re:Nue.js: Rethinking Reactivity by lucideer on Monday October 02, 2023 @07:18AM (#37736726)
> the compiled code

The argument being made here is that the pre-compiled code is not ES6. Of course the compiled code is - I can't see how that's relevant, that's the same for every JS FE DSL.

Re:Nue.js: Rethinking Reactivity by tipiirai on Monday October 02, 2023 @07:46AM (#37736933)
The code inside the script tags is ES6, the pre-processor does not "masquerade" it as the parent commenter says. It's taken as is. Also not sure what in this discussion is relevant.
Re:Nue.js: Rethinking Reactivity by lucideer on Monday October 02, 2023 @09:21AM (#37737724)
> The code inside the script tags is ES6, the pre-processor does not "masquerade" it as the parent commenter says. It's taken as is.

This is flatly untrue - multiple commenters have outlined why this is untrue above.

> Also not sure what in this discussion is relevant.

It's relevant because the original comment is advocating for Nue.js on the basis that the DSL is standards-based, which is untrue. Designing something that looks like a standard without actually adhering to that standard does not equate to being standards based, nor does it benefit from any of the advantages of a standards-based approach.

---

fwiw, while my use of the word "untrue" above seems strong, I want to state clearly that I don't believe you're deliberately trying to mislead anyone here. Your intent seems benign, but I would just suggest learning a little bit more about the approachs of various frameworks, templating systems & DSLs over the years.