Tag Archive for: vue

Papafilms

I created the exact same app in Vue and Vanilla. I called it Papafilms (yes, potatos and films…), you can search films, save your favorite ones and see details in a cool minimalistic and responsive interface. A small basic app to test Vue vs Vanilla code. Check it here from any device.

Papafilms tablet version

Both versions are exactly the same, only Vue is a little bit slower and with more boilerplate. I spent most of the time with CSS. In this case, for such a small app, it could be enaugh with just modern Vanilla. However, a really good point about Vue (or React) is that they make all developers to code in more or less a similar pattern.

Papapfilms mobile version

I have used React and Vue before. They are very similar, it’s not that I don’t like them but they tie you to many dependencies, are verbose, heavyweight (not as much as Angular), slow (Virtual DOM) and their components are not compatible. Those frontend frameworks/libraries had a reason to exist in 2013, but with the web components and the current state of Browser Engines there is no real need for the current abuse of Angular, React and Vue in small apps.

To be honest with you I’m switching to a totally different approach, nowdays I’m using Svelte in small, medium and large apps (used by Facebook, Apple, etc).

Here you have some of the Svelte main advantages:

  • Easy
  • Nice syntax and semantics
  • Write less code
  • Truly reactivity
  • Transitions and animations
  • Compilers enable output flexibility
  • Great performance (vanilla, no virtual DOM, no need to load the framework in the browser, etc)
  • Feels good
  • Aligns with the web platform

Give it a try for yourself and enjoy coding!

Svelte T-Shirt