r/learnjavascript • • Oct 25 '24

JavaScript "consortium" should simply add reactivity into the language itself, and browsers can implement it; end the JS framework wars

1 Upvotes

I am a Web Developer (not full-stack, backend, or frontend), just a web developer who has built many decent, functional, and scalable web applications since 2017. I have been using VanillaJS (the fact that I have say Vanilla, even though it's just Javascript) and jQuery for most of my career and it has been serving well so far. For building complex UIs I did try Angular & React 5-6 years back, and it was a decent experience. I didn't dive much into it, though, since jQuery and its various plugins have been serving me well.

Now I am trying to switch jobs, and all I see is you need to know either React or Angular or VueJS or Svelete or Next.js to be able to apply for a development role that pays handsomely.

So next thing, I started tinkering with them, comparing and looking at which one should I start learning. I already had some idea on how shitshow of JS framework community is, new frameworks and re-inventions are popping up every now and then to fix a problem brought on by another framework or their own previous version of framework.

Major idea of a framework is still is reactivity in a nutshell, basically the ability to bind DOM elements to a state, so one doesn't have to write a lot of DOM related code in JS.

My question is why doesn't JS simply adds this reactivity into JS itself? Most of the frameworks would end up just being tools for the extra stuff you want to achieve for your applications for eg. routing for creating SPAs.

And frankly, a lot of web apps don't need to be SPAs, imo. An app can still be rendered from the backend as a page or multiple pages, and interactivity happens with JS for each page.


r/learnjavascript • • Jul 03 '24

Where to learn js from as a beginner and which framework ?

1 Upvotes

I just started bootstrap and want to start js now but all yt channels are giving different advice on which framework to use what should I do ?


r/learnjavascript • • Jan 15 '25

45 Powerful JavaScript One-Liners That You Must Know

0 Upvotes

JavaScript is known for its flexibility and concise syntax. One of the best ways to write more efficient and elegant code is by using one-liners. These short, compact snippets can often replace longer, more complex code. Whether you're a beginner or a seasoned developer, mastering JavaScript one-liners can improve your coding efficiency and help you write cleaner code

🔗 Read More Here: 👇👇👇

https://calicodex.com/45-powerful-javascript-one-liners-you-must-know/


r/learnjavascript • • Sep 24 '18

It’s 2018: you shouldn’t be writing vanilla CSS

Thumbnail
blog.logrocket.com
10 Upvotes

r/learnjavascript • • Feb 27 '19

I'm a drag queen creating coding tutorials! Here is my intro project to JavaScript. We make a soundboard!

Thumbnail
youtube.com
0 Upvotes

r/learnjavascript • • Jan 12 '22

A warning to learners

21 Upvotes

JavaScript is written exclusively in camelCase. Be aware of this fact when reading/debugging your code because the syntax highlighter doesn’t pick it up and although everything looks right, it can all hinge on the first letter being wrong. (Source) spent 2 hours trying to debug a DOM call to document.getElementById(„elm“).InnerText, even putting it into jsfiddle and several other things to see what was wrong when all that was required was to change it to .innerText to solve the dilemma. Lesson learned and now +10xp. It’s tough coming to js when you are used to statically typed languages. /s

Kidding aside I am enjoying learning js/Frontend but I would be lying if I said I missed the capabilities of a good ide in a stricter language.


r/learnjavascript • • Jun 07 '24

Currently reading "JavaScript: The Definitive Guide" book, I noticed there are no exercises, why?

0 Upvotes

The book has no exercises at the end of chapters, I wonder what's the rationale for this? I read other programming books and exercises always helped me reinforce the knowledge.


r/learnjavascript • • Feb 09 '21

Is there any way to break the async/await chain nightmare?

0 Upvotes

Everyone seems to be in love with async and await, but to me they stink.

I'm open to having my mind changed here, and if anyone knows a solution to the problem I describe below I will gladly do so.

Firstly, what are we actually doing with these features? We're making asynchronous code act like synchronous code. The simple solution to this problem is of course not to make the code asynchronous in the first place! This is sometimes easier said than done. Especially considering that things such as synchronous HTTP Requests have inexplicably been made depreciated. As if anything synchronous suddenly became "bad". But anyway...

Assuming we can't just make the code synchronous, we're left with async and await to force it to act like synchronous code. The problem here is is that it has a tendency to create a huge chain of async functions and await declarations and your code ends littered with async and await because somewhere deep down the line one asynchronous piece of functionality was used.

That's crazy! It's messy and bug prone and just seems like a really bad way to write code. But I can't think of the alternative.

Is there any way to end this chain of async/await? Preferably as early as possible (i.e. right after the request or whatever async thing occurred)?


r/learnjavascript • • Mar 25 '24

if Javascript not for me?

0 Upvotes

Hello guys. I am really depressed and upset.

I study Javascript at the course and everytime whet its time to make some homework i cannot do it. i rewatch theme videos many times, but i am watching at the task and do not realise where to start, where to go .

I have full time job where i spend 8 hours and spend all my free time studying HTML, CSS, JS.

Last month i started DOM in JS and tried to do calculator and it was unsuccessful, got the task with already ready HTML and CSS to make Accordion but i failed. And every next fail makes me more depressed.

I feel myself stupid, nervous, depressed and my question is

How To Get To Know If Coding Is Not For Me?

p.s. i am trying to push as hard as possible, but who knows, maybe i am that one person who was not born for coding.


r/learnjavascript • • Feb 26 '26

Guys I need your help (JavaScript)

0 Upvotes

hey guys, I’m a 19 years old student and I want your help. I really love to be a software engineer but I can’t wait to finish col etc to get a job. I need someone that has a job as an engineer like a mentor. i really need someone that can guide me in my journe. thanks you all❤️


r/learnjavascript • • Oct 16 '23

dropping half of my savings on a React course ?

0 Upvotes

Hey everyone, I'm an aspiring web developer from some poor undeveloped country, started my learning journey a while ago using a couple of Udemy courses.

Html & css clicked really well but Javascript gave me quite a difficult time, going over youtube to fill in the gaps & getting exposed to other styles of teachings JS, I thought maybe it's my course and yup, that was it, I dropped the course I was wasting time on & bought brad traversy's recently revamped course & it was awesome.

Having built some projects with JS, my wisest next step would probably be learning React but unfortunately, based on reviews, Traversy's react course is fairly outdated & this lead me into youtube again and this time I came across this guy Kyle cook ( webdev simplified ) he's awesome, doesn't treat you like an idiot and even tho his projects are a bit ugly, he teaches a lot & I really liked him, quickly found out he has a React course with a massive project that really appealed to me,

Now, the problem is it costs over half of my savings, I live with parents so it's not like i'd end up on the streets if I go for it, but still wanna ask you if this is an investment worth making or not?

I've got nothing to lose that's right, but still don't wanna spend and feel like it was a total failure.

any thoughts on that ? I'd greatly appreciate.


r/learnjavascript • • Jun 03 '15

If I understand everything on this Cheat Sheet, will I have Javascript completely memorized/mastered? Or is there way more I'd need to learn?

Thumbnail overapi.com
0 Upvotes

r/learnjavascript • • Sep 09 '23

Async/await seems... annoying?

5 Upvotes

Let's say that I was writing a fairly large project and I got to a point where I realize that I need to use an asynchronous call to get some value. No problem, right? Just use await and return the value - wrong! Even though the code might appear to run no differently than a synchronous function (since it needs to wait for the async calls to finish), I cannot treat the calling function as being a synchronous function. So now it needs to be async, which means the function calling this function needs to be async, and of course the function calling that also now needs to be async, and so on. Somehow doing one small thing in one place in the code has suddenly resulted in needing to refactor hundreds of other unrelated functions, even though they are still executing in the same amount of time as if they were synchronous calls. How does one avoid async spreading throughout your code?


r/learnjavascript • • Oct 31 '25

array.forEach - The do-it-all hammer... XD

0 Upvotes

Is it just me, or everyone thinks that more or less every array operator's purpose can be served with forEach?


r/learnjavascript • • Nov 16 '25

Help! University debate C# vs Javascript

1 Upvotes

At university, I have an assessment on "frontend languages." My team and I are defending C#, while the others are Swift, Python, and JavaScript. Clearly, some of them have an advantage over C#, but our goal is to win the debate despite not being as good for frontend development as the others. I'd like to know how I can attack Javascript by pointing out its most catastrophic flaws for frontend use, including the whole issue of frameworks. Also, how can I promote C# without anyone contradicting me?


r/learnjavascript • • Jan 25 '19

Upcoming youtube programming and web dev tutorials

0 Upvotes

Constant Coder will offer a variety coding tutorials, tips, tricks, and anything else that can help you on your journey to be a better programmer. If you want to learn coding, or just like tech in general, give the channel a subscribe. You will not regret it!


r/learnjavascript • • Dec 31 '25

Urgently looking for good resources to learn Async JavaScript (callbacks, promises, async/await) + JSON & REST APIs

0 Upvotes

Hi everyone,

I urgently need solid resources to learn and properly understand asynchronous JavaScript, including:

  • Callbacks

  • Promises

  • async / await

I also need good explanations and practice for:

  • JSON

  • REST APIs

  • Using fetch and handling API responses

I already know basic JavaScript, but async concepts still feel confusing, especially how everything connects together in real-world scenarios.

I’m looking for:

  • Clear tutorials or crash courses

  • Practical examples (not just theory)

  • Articles, videos, or interactive resources

  • Anything that helped you finally understand async JS

Any help would be hugely appreciated. Thanks in advance!


r/learnjavascript • • 5d ago

I have a question about how to write my first JavaScript code

0 Upvotes

I am trying to lear JavaScript and having trouble any suggestion to websites that are helpful


r/learnjavascript • • Mar 02 '23

A JavaScript error occurred in the main process.

Post image
0 Upvotes

r/learnjavascript • • Jun 08 '20

I wrote an article on why Angular sucks

0 Upvotes

r/learnjavascript • • Jun 01 '19

JavaScript Help

0 Upvotes

Anyone around willing to give a guy who lied about knowing JavaScript some help with a uni assignment due in 2 days?


r/learnjavascript • • Mar 18 '18

Easier way to create objects with dynamic keys 💪

Post image
0 Upvotes

r/learnjavascript • • Mar 24 '18

ES6 Destructuring can fix Oscars Best Picture Mix-ups 😜

Post image
0 Upvotes

r/learnjavascript • • Jun 15 '23

how to make a boolean stay true forever after the event that triggers it is done

0 Upvotes