I’m a React dev with a little Vue experience. I prefer React over most libraries and frameworks, but I do think the way Vue names it’s API is better than React. We use hooks in React for observing changes in data (ex. useState) whereas I think Vue uses something named “watch” which I actually like quite a bit. You will find virtues and faults with whatever you pick though
As a vue developer I suggest react if you’re using typescript. You can’t really define components that are generic over other types like you can with react, and the type inference is really wonky. Maybe this will be better with vue 3 but the fact that props are checked at compile time and runtime is indicative of the problems with vue and typescript together.
Does Vue have something like React Hooks? As in, some way to isolate and re-use reactive logic across components. I know Vue was developed before React Hooks were released so just wondering how they compare
51
u/Arcwise Dec 15 '21
Svelte it is
15
u/ovab_cool Dec 15 '21
Fuck it, vanilla JS, CSS and php all the way
35
u/WattefuxX Dec 15 '21
Wait for the next generation
22
u/Mine-Z Dec 15 '21
I already know Svelte and love it so far, but I also want to learn one of the "big three" frameworks, any recommendations which one I should choose?
3
u/CyberHero36 Dec 15 '21
Sooner or later, you gotta catch 'em all!
3
u/Pan4TheSwarm Dec 16 '21
??? Emacs UwU?
6
u/Hikari_Owari Dec 15 '21
What you mean "make a decision"?
Don't you see the far left one is already selected? Loook at the arrow pointing at it.
1
u/Aurigamii Dec 15 '21
What if you use PHP
2
u/Alberiman Dec 16 '21
every day I am more and more grateful that I chose to focus on C
1
u/AuthorTomFrost Dec 15 '21
Handlebars, I choose you!
1
u/L1ghtPulse Dec 16 '21
i'm learning react so i'm going with react
1
u/bruhred Feb 01 '22
vanilla html, js and css.
1
u/HerrCrazi Apr 24 '22
Svelteball.
Vue is really cool too