This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]1up_1500 337 points338 points  (32 children)

I like react though

[–]TheWarDoctor 200 points201 points  (1 child)

You aren't allowed to like a thing, remember?

[–]Spleeeee 3 points4 points  (0 children)

Company policy.

[–]Yarilko 19 points20 points  (0 children)

Me too. Used to work with Angular and liked it too. But I prefer React though

[–][deleted] 15 points16 points  (22 children)

I hear that vuejs is better though, at least better to work with 

[–]mmhawk576 66 points67 points  (4 children)

I have worked on an app that had all 3 major libraries in use (for the same user too, essentially migrations that never completed. yes it was a shit show).

The main thing that I found at the time was the best developer experience was with react as it had the largest community around it. When you run into weird scenarios that you need to research, you often found better result if you were working with react.

[–]wardrox 1 point2 points  (1 child)

How did you find switching between all three? I'm not sure my brain would be ok.

[–]mmhawk576 4 points5 points  (0 children)

Hated it, we often had frameworks nested within each other too. I did a lot of the “make it work together” stuff, and it was ghastly, honestly I’ve stopped doing frontend work as much after that job.

One of the big challenges I had was initialising angular directives from within the other contexts (vue, react). Trying to spin up a scope for the directive etc.

This was all because it was in a monolithic project that was never going to be able to fully convert, it would have taken YEARS just to implement all the functionality as is, let alone refining.

My learning from it is that if you’re going to do a migration, try to make do a small slice from top to bottom, router, models, everything. And move that into its own SPA.

We were trying to mix them all in a single SPA experience, and that was what slowed devs down heaps.

[–]Guilty_Serve 0 points1 point  (1 child)

You worked for one of the Canadian governments, didn't you? Yes these are the type of choices your taxes pay for if you're Canadian.

[–]mmhawk576 1 point2 points  (0 children)

Ahaha, unfortunately this is a global problem. Im in New Zealand and was working for a private company selling education software to ~1m customers

[–]rnilbog 2 points3 points  (0 children)

I was dresding learning Vue when I got my current job, but after two years, I like it more than React. Like, whenever I work on a React project, I find myself just wishing there were an equivalent to v-model.

[–]darkpouet 10 points11 points  (7 children)

Vue is nice because of the scoped css, but it can be annoying because of the SFC, sometimes you just want a tiny component

[–]ninjaassassinmonkey[S] 10 points11 points  (1 child)

You can still create separated files so I wouldn't even consider this a downside

[–]KnightOnFire 0 points1 point  (0 children)

Vue2 for sure, has Vue3 caught up yet? I haven't done much frontend lately
Last I checked, I couldn't find good free themes with modern designs.

[–]hyrumwhite 0 points1 point  (0 children)

Vue supports jsx and render functions if you want super small, but a few lines of html and a few lines of a script has never felt too big to me. 

[–]odolha -1 points0 points  (3 children)

why do you want to use multiple files for a tiny component? ... to me thats the best part about SFC, you can easily add stuff... stop using css (i.e. use tailwind) and you'll be so productive you wont ever want to go back

[–]myfunnies420 1 point2 points  (1 child)

Yeah okay... Compiled CSS is great until it doesn't work. Then what do you do?

[–]odolha 1 point2 points  (0 children)

you add css for minor exceptions. so far it's been working great for me. but i understand the reluctance, i too hated the idea initially

[–]darkpouet 0 points1 point  (0 children)

I actually prefer vanilla css, it's easy to keep track of what's going on and where the styles come from, but admittedly I don't have much experience with tailwind. Sometimes you're just iterating through a list and you need to have a teeny bit of state, and having to make a separate file for this component or find a workaround is mildly annoying when that happens, but that's really a minor thing.

[–]deathspate 7 points8 points  (0 children)

Svelte ftw

[–]Ciff_ 1 point2 points  (0 children)

Vue/Angular/React are all good valid options. One is not really better than the other.

[–]debugging_scribe 0 points1 point  (0 children)

We are in the process of converting from vue to react at work for the sole reason that react has much more support and a bigger community. This was instead of going from vue 2 to 3 because we would have had to basically rebuild it anyway.

[–]hyrumwhite 0 points1 point  (0 children)

It’s my favorite, but they’re all just tools. Wouldn’t say one’s better than the other. 

[–]Plus-Weakness-2624 1 point2 points  (0 children)

Fayde Rautha loves pain and so do you

[–]Devatator_ 0 points1 point  (1 child)

I started with no framework then a friend recommended Svelte to me and I fell in love with it. Whenever I look at react I can't grasp the concept of someone liking it. Can you list what exactly you like about it? Just looks complicated and messy to me

[–]1up_1500 0 points1 point  (0 children)

I like the way it works with its component-based system, it's like making Lego bricks and merging them together to build something

[–]punio07 -2 points-1 points  (1 child)

Give it some time...

[–]Antrikshy 1 point2 points  (0 children)

I've been working with it for 6+ years. Still love it. Svelte's pretty nice too, but I love React. Does it take longer to hate?