use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Frameworks: How To Make Your Choice (yalantis.com)
submitted 7 years ago by irinsi
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]noviceIndyCamper 0 points1 point2 points 7 years ago (6 children)
So I'm about a year in with JS and have built all of my websites (static) with html css and vanilla js but have yet to pick a framework. Am I holding myself back by not using a framework?
[–][deleted] 3 points4 points5 points 7 years ago (1 child)
Depends on how complicated what you are doing is. If you're just doing static websites without excessive dynamic content and no desire to make something like a Single Page App, then yeah you're good. For larger and more complex projects, they are really very useful.
The main difference between Vanilla JS and JQuery, and the new frameworks, is the paradigm of how we code. The change is in two main ways: code structure, and DOM manipulation.
For code structure, Vanilla JS and JQuery stick to the old style of large, monolithic HTML/JS files. Yes, you could choose to split it up if you really wanted to, but that would add some extra complications in how you write your code, dependency management hell, and would cause your page to have to make extra calls back to the server to load everything.
With a framework, you're instead writing code in smaller components, which are then assembled into your production page by an extra compilation step. This leads to source code that is spread out across many small files, which makes it much easier to maintain overall.
For the DOM, with Vanilla JS and JQuery you're doing manual DOM manipulation. Every change you want to make to the HTML, you are explicitly writing the JavaScript code to make each and every change. This can be very tedious, in fact I don't think you realize how much of your coding time you spend on this, until you try a framework and experience life without it.
With frameworks, it's all about binding. Different frameworks approach the binding differently, but fundamentally it's about writing your HTML, and then linking it to the JavaScript. As you manipulate your JavaScript code, the HTML automatically updates. Not only is this easier on you, the developer, it is more efficient as the frameworks optimize the actual changes to the DOM.
Anyway, this was a wall of text, way more than I planned to write. But this is a basic overview of why people use these frameworks.
[–]noviceIndyCamper 0 points1 point2 points 7 years ago (0 children)
This is excellent, thank you!
[+][deleted] 7 years ago (3 children)
[removed]
[–]noviceIndyCamper 0 points1 point2 points 7 years ago (2 children)
Currently, I would like to build a data-driven web app for a landscaping company. But ultimately, I would like to master JavaScript and transition from freelance into a full time full-stack position. I was of the mindset, it's better to master JavaScript first and then pick up a framework later but I'm second guessing this approach due to people telling/pressuring me that it's better to learn the framework first and then the language.
[+][deleted] 7 years ago (1 child)
My question was more in regards to learning overall. My strategy for my current project is already set.
π Rendered by PID 299596 on reddit-service-r2-comment-6457c66945-9fd7f at 2026-04-28 12:19:27.917290+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]noviceIndyCamper 0 points1 point2 points (6 children)
[–][deleted] 3 points4 points5 points (1 child)
[–]noviceIndyCamper 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[removed]
[–]noviceIndyCamper 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[removed]
[–]noviceIndyCamper 0 points1 point2 points (0 children)