robjbrain's avatar

Why does laracasts.com use jQuery over VueJS

I don't really want to get into an argument with people over jQuery vs VueJS but I wandered if there was anywhere @jeffreyway has discussed his decision to use jQuery over VueJS for the new Laracasts? I don't listen to podcasts but often see reference to them so perhaps it has been explained there?

With all the guides for Vue on the site I was sure the new version was going to use Vue so I was surprised to see jQuery being used.

0 likes
7 replies
ianfain's avatar

Probably because it best suited the project. A developer who I highly respect once told me that, "the project dictates the tooling, not the other way around."

So my guess is that jQuery was probably a better fit for the things that needed to be done.

robjbrain's avatar

cheers for the reply @ianfain

I guess that answer is kind of a given, the question is really, why was jQuery a better fit for laracasts than Vue (or react or angular or anything else)

robjbrain's avatar

@IANFAIN - Hence tagging him and asking if anyone else had heard it covered in any podcasts ;)

taylormaguire's avatar

If you watch any of the newer videos on laracasts, you'll see that a lot of the site is done in VueJS. He may use a few jquery items but i believe the majority is actually Vue

Thyrosis's avatar

has discussed his decision to use jQuery over VueJS for the new Laracasts?

What makes you think he choose jQuery over VueJS? As far as I'm aware, he's using both libraries simultaneously. Yes, jQuery is included as a separate JS file, but I think the Vue-library is included in 'all.js'.

robjbrain's avatar

@THYROSIS - Yeah I didn't actually realise that at the time. I just saw jquery and assumed.

I guess the question still stands, why jquery AND vuejs. What thing specifically required jquery? I haven't found a situation where I needed both yet.

Please or to participate in this conversation.