r/Frontend • • Oct 14 '19

Vanilla JavaScript and HTML - No frameworks. No libraries. No problem.

https://johnpapa.net/render-html-2/
6 Upvotes

6 comments sorted by

6

u/AdamElioS Oct 14 '19

I feel like it's sort of "trendy" to go vanilla thoses days. I don't share this vision at all. There is a reason why frameworks were adopted by web industry a while back. Depending on the size of your application, you will create way more problems than those you solve by coding with vanilla...

Truth is, that for big apps, reactive javascript with data binding is the only alternative where your code don't quickly become a mess.

Source : Dude trust me Been working with javascript for 15 years, with and without frameworks.

9

u/[deleted] Oct 14 '19

If you choose not to use a framework... you’ll end up building your own

2

u/AdamElioS Oct 14 '19

Ah ah very true... But one influenced by the project you are making, hence biaised

1

u/[deleted] Oct 15 '19

Yep. Also, I don't pretend that I'm anywhere near as smart as the guys and gals behind react/vue/angular. I guarantee whatever I roll out will be some poop in comparison haha

4

u/pm_me_ur_happy_traiI Oct 14 '19

It just depends on the project. If it's a data driven app, sign me up for a framework, but there are plenty of times that you are building something where you don't reallt benefit from the overhead of a full framework.

If I'm just building a website with a little interactivity, why not go vanilla?

1

u/Thecongressman1 Oct 14 '19

Exactly my thoughts.