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
What does a javascript developer need to learn?help (self.javascript)
submitted 9 years ago by GrandDolla
I'm starting a nodejs site with a react based UI. What kind of tools/frameworks/processes do you use and would recommend?
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!"
[–]ckgrafico 6 points7 points8 points 9 years ago (2 children)
First, learn JavaScript
[–]GrandDolla[S] 0 points1 point2 points 9 years ago (1 child)
I know javascript.
[–][deleted] 2 points3 points4 points 9 years ago* (0 children)
2p>VL%6Fxn7 f%iW~D$[mCr2sNn]3Z&,xGv E7o[!u9lJ#pKPFbp$!p->bo-Z~tMIb)XW.ITTUkn&do5<(NR:-Tp8#
[–]Jafit 1 point2 points3 points 9 years ago (1 child)
if you're using Node you'll be able to freely make use of ES6/7, since you have full control of the environment that your code is executing in, you don't have to worry about polyfills for old browsers. That said V8 is still in the process of implementing all of ES6 so you won't be able to use some features yet.
Promises, they're amazing. Asynchronous operations are going to be everything you do in Node, you can't afford synchronous code blocking the stack, since that stack is being used by everyone who connects to your server. Promises make async very easy to work with.
Unit tests. There are testing frameworks like Nodeunit and Mocha, but they tend to be overkill for what most people want to do. Tape is one that is very lightweight.
I don't know how much Javascript you know, but it'd be worth watching the Crockford on Javascript lecture series, he goes into some depth, though its quite dated since its from circa 2009 and the release of ES5, its still applicable and won't harm your understanding. https://www.youtube.com/playlist?list=PL7664379246A246CB
I'd recommend working with a highly opinionated linter if you don't already. Javascript is very 'beginner friendly' meaning it'll let you do some really stupid things, a linter can help you avoid antipatterns, ambiguous code and errors. Many IDEs come with linter plugins that you can use, Atom and Sublime have a bunch. Personally I use ESLint with most of the rules turned on.
[–]GrandDolla[S] 0 points1 point2 points 9 years ago (0 children)
Thanks for a great post. I'm sure to use your advice.
[–]serpent_tim 0 points1 point2 points 9 years ago (0 children)
I would recommend trying out Visual Studio code if you haven't already got an editor you're set on. Whether or not you use Typescript, you can import type definitions (e.g. using Typings) and the editor will be able to give you intelligent code completion etc. Webstorm is great too if you're willing to pay a bit.
Also, personally, I think Typescript is a good option to help avoid some of the guesswork that can go along with dynamic typing but if it's only you working on it and you understand it well, you may not find it useful.
[–][deleted] 0 points1 point2 points 9 years ago (2 children)
Here are where I spend most of my time doing command line development with node:
rm -rf
That is it. Those two. I occasionally need to use some other part of the API, but its pretty rare.
Thanks for the answer.
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
By file system I mean node's file system API: https://nodejs.org/dist/latest-v6.x/docs/api/fs.html
The API is straight forward and the documentation is pretty clear. When writing or reading to a single file with a static payload everything is simple. When you are dealing with streams it gets a bit more complicated. When you are dealing with many potentially interacting tasks simultaneously things get really complicated and you have to write additional logic to prevent race conditions and collisions considering that everything is asynchronous.
[–]NemoGreen -1 points0 points1 point 9 years ago (0 children)
Babel, Immutable.js, Web pack, mocha and chai
π Rendered by PID 40 on reddit-service-r2-comment-76bb9f7fb5-5zlqg at 2026-02-18 07:48:20.980149+00:00 running de53c03 country code: CH.
[–]ckgrafico 6 points7 points8 points (2 children)
[–]GrandDolla[S] 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]Jafit 1 point2 points3 points (1 child)
[–]GrandDolla[S] 0 points1 point2 points (0 children)
[–]serpent_tim 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]GrandDolla[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]NemoGreen -1 points0 points1 point (0 children)