3 ms·
Please read the article and the section "Reactivity under the hood": https://nuejs.org/blog/rethinking-reactivity/#reactivity-under-the-hood https://nuejs.org/b
by tipiirai 3y ago
Please read the article and the section "Reactivity under the hood": https://nuejs.org/blog/rethinking-reactivity/#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.
- lucideer 3y ago> 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.
- tipiirai 3y agoThe 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.
- lucideer 3y ago> 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.