Clearly you have no idea of VueJS. You don't have to register every component, just the ones that you want to use globally, others can be imported normally like every other JS moduke. Regarding the v-if, at least they are using understandable/readable HTML and not crappy JSX. Every React kiddie celebrates hooks because you finally are able to implement some kind of reactivity, while this is so much better solved in Vue (proxies) or Svelte (compiler). It's ridiculous to think React is better. React is the new jQuery for me.
It's not a opinion, it's a fact. If you think this:
useMemo(()=>computeExpensiveValue(a,b),[a,b]);
is easier / more maintainable than this:
$:computeExpensiveValue(a,b);
Then I would like to now what you are smoking. The people you are referring to are the ones like you who have never tried another framework and saying "React is just better". 🙄
I do actually prefer the React solution here (mostly) even if my personal perspective might put me closer to Svelte camp. I've used dozens of JS UI frameworks. I'd like to even consider I have some expertise on the subject.
I know the first thing is React but for the sake of this argument it doesn't have to be. We are talking about an explicit JavaScript semantic expression that could do the same thing as the Svelte one except it is more explicit what is going on. I know that in React that is not what is happening and that useMemo is a whole other craziness given Hook Rules and potential stale closures etc..
But syntactually the first is clearer of what is going on. What values are being derived from, what is happening simply from being named. There are other benefits. Composability, modularity.. What is $: and why does it have this behavior? Can I just pull my $: statement into a different file and expect it to behave the same.
To be clear I do think this is an opinion thing but one could easily make the same naive argument that React is factually better from that example. This comes down to easy vs simple. Implicit vs Explicit etc.. Everyone has it's own comfort level. We can discuss the tradeoffs of the abstraction vs the internals to death, but ultimately these libraries are doing similar things and more important similar complexities are there.
So conversation is good. This argument not so much.
I recently learned svelte a few weeks ago and absolutely love how simple it is. You can literally just look at the documentation with a quick glance and be like, "oh, that is how its done." Sooooo simple. At work we use Vue.js. React's bound properties are just messy.
Clearly you have no idea of VueJS. You don't have to register every component, just the ones that you want to use globally, others can be imported normally like every other JS moduke. Regarding the v-if, at least they are using understandable/readable HTML and not crappy JSX. Every React kiddie celebrates hooks because you finally are able to implement some kind of reactivity, while this is so much better solved in Vue (proxies) or Svelte (compiler). It's ridiculous to think React is better. React is the new jQuery for me.
It is ok that you have your own opinion but there are clearly more people who disagree with you in the world then with me.
It's not a opinion, it's a fact. If you think this:
is easier / more maintainable than this:
Then I would like to now what you are smoking. The people you are referring to are the ones like you who have never tried another framework and saying "React is just better". 🙄
I do actually prefer the React solution here (mostly) even if my personal perspective might put me closer to Svelte camp. I've used dozens of JS UI frameworks. I'd like to even consider I have some expertise on the subject.
I know the first thing is React but for the sake of this argument it doesn't have to be. We are talking about an explicit JavaScript semantic expression that could do the same thing as the Svelte one except it is more explicit what is going on. I know that in React that is not what is happening and that
useMemo
is a whole other craziness given Hook Rules and potential stale closures etc..But syntactually the first is clearer of what is going on. What values are being derived from, what is happening simply from being named. There are other benefits. Composability, modularity.. What is
$:
and why does it have this behavior? Can I just pull my$:
statement into a different file and expect it to behave the same.To be clear I do think this is an opinion thing but one could easily make the same naive argument that React is factually better from that example. This comes down to easy vs simple. Implicit vs Explicit etc.. Everyone has it's own comfort level. We can discuss the tradeoffs of the abstraction vs the internals to death, but ultimately these libraries are doing similar things and more important similar complexities are there.
So conversation is good. This argument not so much.
I think
useMemo(() => )
is more maintainable than$
, and I am not smoking anything.What are you smoking?
I recently learned svelte a few weeks ago and absolutely love how simple it is. You can literally just look at the documentation with a quick glance and be like, "oh, that is how its done." Sooooo simple. At work we use Vue.js. React's bound properties are just messy.
Finally someone who knows what he's talking about and has actually tried all frameworks. 🤗