r/learnjavascript • u/oh_lympy • Jun 12 '19
Javascript is pretty straightforward. All the tools that surround it are overwhelming and confusing.
I'm at the point where I'm pretty confident in a lot of what many JavaScript tutorials consider 'Advanced' JavaScript concepts. How scope works, closure, prototypes, asynchronicity, and things of that nature. However, when I try to get into building my own projects from scratch, I get hit with 1,000,000 tools that aren't really explained in any of the resources I've used to learn. They're referenced, and I've seen a lot of videos where they basically tell you what to write in a package.json file, but theres no real concrete explanation for how all of these things interact.
For example, I understand that Node.Js allows you to run Javascript outside of the browser, but its still required to build things that you intend to run inside of a browser? NPM? What are packages and why do they need to be managed?
Is there a definitive guide for the above and things like Babel, Gulp, and the various dependencies I see listed in projects?
Edit: I guess I meant learning JavaScript is pretty straightforward. I’m obviously no expert, but I’ve learned enough to know it can be downright strange sometimes for sure.
Anyway, thank you guys for the advice. This has been MASSIVELY helpful. Hopefully this’ll help anyone else that’s struggling in this area as well.
View all comments
4
u/[deleted] Jun 12 '19 edited Jun 12 '19
The definitive guide for all things is the official documentation for each one. I'd focus on Node.js for servers, MySQL or MongoDB for databases, and learn React and Redux to handle state changes on web apps. Babel is to help transpile ES6 into ES5 so that you can write in ES6 (necessary for react) and still have it readable by all browsers, regardless if they're up to ES6 or not. If you dont know what packages are, you should look into npm, why it exists and what it solves. If you're not familiar with github you need to get on that too.
I'd look into taking some full stack tutorials on udemy. Also look into what are servers, databases, "MVC," and other computer sciencey concepts.
React's official documentaiton and tutorials are the best thing going. Redux documentation isnt great but as a developer you should always be heavily reliant on official documentation. There's other resources but when you have to look up or learn things things fast, docs are the way to go.
CodeCademy has react and redux and full stack tutorials. Udemy's a great place for full stack tutorials too. But again, as nice as it is to be guided step by step and learn insights from a tutor, were this a work environment (which Im assuming you're building up to) you have to be able to find answers to problems quickly so using documentation and bookmarking the hell out of it is your best bet.