r/javascript • • Jul 11 '17

help What 10 Things Should a Serious Javascript Developer Know Right Now?

I'm inviting pure opinion here, but what's your list of ten things that everyone looking for a good javascript role should know and understand. Personally, I'm in a role where what I know is adequate, but I want to be somewhere better; somewhere that has some flippin standards. I'm learning outside of work requirements at the moment, but there is so much shit to learn out there.

The objective is to do good work in a good place.

Narrow it down to your ten for me, or for you.

Can be your own "I must learn x" list too. I'm very interested to hear what people think.

348 Upvotes

223 comments sorted by

View all comments

-5

u/darrenturn90 Jul 11 '17
  1. Babel / JSX and the "react toolchain" / webpack

  2. At least one unit testing framework (Jest / Mocha etc)

  3. ES2017 / ES6 coding - incl destructing, spread, rest, arrow functions

  4. (nice to have) Functional programming concepts in javascript (Ramda)

  5. (nice to have) Observables

  6. (nice to have) A CSS Modules system (Styled Components etc)

  7. Basic information re: WebAssembly

  8. Backwards Compatability / Polyfills and Minimum Browser Requirements

  9. Web Security and concepts related to where and how to store sensitive data

  10. React Performance optimizations

17

u/FlenserSteel Jul 11 '17

Yeah, because every serious JS developer should know JSX and React. Sure.

I think every serious JS developer should have a firm grasp of the language specifics - ES6/7 included. You should also be able to build a web app on your own, without any framework whatsoever.

7

u/00mba Jul 11 '17

You should also be able to build a web app on your own, without any framework whatsoever.

Wait, you can do that?

10

u/ArcanisCz Jul 11 '17 edited Jul 11 '17

Yes you can, but its lots of work. So you DONT WANT to do it (everytime). But you should BE ABLE to do it if necessary. Which means, you understand your tools.

Even frameworks are code.

0

u/[deleted] Jul 11 '17

[deleted]

4

u/i_pk_pjers_i Jul 11 '17

7

u/00mba Jul 11 '17

Sorry... got carried away

2

u/MarcusPope Jul 11 '17

Don't worry... ALL of this content will make it over to PCJ in the next couple of hours...

3

u/pier25 Jul 11 '17

No you can't. Even if you don't use React you will use the Vanilla Framework. /s

http://vanilla-js.com/

3

u/[deleted] Jul 11 '17

I'm interested in seeing your list, should you feel so inclined.

2

u/our_best_friend if (document.all || document.layers) console.log("i remember..") Jul 11 '17

React : 2017 = Jquery : 2009

3

u/darrenturn90 Jul 11 '17

Right now, for getting a JS developer based Role, I would put React on the list of potentially required skills - you can of course add in Angular, or any other widely used framework, but based on the job market (and this is what I believe the original thread was focused at) - React has to be on the list.

0

u/[deleted] Jul 11 '17

[deleted]

2

u/darrenturn90 Jul 11 '17

Agreed, but I don't think you get taken into the "depths of javascript" as well as with the React toolchain and using that as a tutorial into the world of javascript I believe is good, because it introduces very little in the way of boilerplate (other than things like the React lifecycle which of course isn't needed if youre not using react)

2

u/[deleted] Jul 11 '17

I currently feel like Vue is a "best of both worlds" between React and Angular 2+. Definitely agree that it's the core javascript skills combined with the ability to learn a framework when required that really matters.

2

u/pier25 Jul 11 '17

I'm using Vue at the moment and I agree, but my eyes are set on Marko which is what Ebay is built on. It's better in every aspect but the ecosystem around it is still very small. I'm aiming at start using it in 2018.

Here is a great video comparing Marko, Vue, and React.

3

u/HomemadeBananas Jul 11 '17

React isn't a framework, really. It's a library that handles one concern, not enough to build a whole app alone. I'd say it's definitely something you should know about as a JS developer.

3

u/bits_and_bytes Jul 11 '17

You should know it exists, but it's not in the "top 10 things every JS dev should understand" list.

→ More replies (1)

1

u/djslakor Jul 11 '17

Yeah, because every serious JS developer should know JSX and React. Sure.

You say that in jest (no pun intended), but it's getting more and more common to the point of being pretty practically true. :-/

0

u/[deleted] Jul 11 '17 edited Jul 11 '17

Reactive, functional programming is a paradigm not a framework, not knowing what it is and how to use it would be like ignoring mvc and it will seriously impede your options career wise and technically as time goes by. This paradigm is how you will make apps in the web, on mobile and on the desktop, until the next paradigm replaces it, and if one does it will iterate on the functional approach. It only happened to start in the web and React happened to be the framework that kicked it off.

5

u/alinnert Jul 11 '17

Wait, I think you mix up React and reactive programming. React is not a reactive library. A library for reactive programming would be RxJS. A view library based on that paradigm would be CycleJS. Just for clarification. :)

2

u/[deleted] Jul 11 '17

Well it's called so because it reacts. JSX/hyperscript have made the big changes possible, the rest are more like implementation details, even cycle is very close to react in princinple.

1

u/alinnert Jul 11 '17

Yes, that might be the case. The name sure has some sort of origin that's related to "reactions". But "reactive programming" is a programming paradigm around data streams (aka. observables) and the "observable pattern". Observables notifies the world that some data has changed. You can subscribe to observables to receive those notifications (= the data stream) - similar to events. But on top of that you can alter this stream, combine it with other streams, filter events by some criteria etc. Cycle.js is based on this observable approach.

Other frameworks like React, Angular and Vue follow a more polling approach. They check if some data has been changed. And if it's just by using a setter function. They actively ask if some data has changed or is about to change. Maybe you've heard about "change detection". They actively have to detect changes.

Observables on the other hand tell you about changes completely on their own. You don't have to ask them. You have to listen (subscribe), but you don't ask. No change detection is required. Cycle.js just has to react to those notifications.

It's difficult to describe this difference. But in short: React is a library with a random name that's related to reactions. Reactive Programming is a paradigm, just like object oriented programming or functional programming are other ones.

I think it's the best if you look up for yourself how RxJS works.

1

u/[deleted] Jul 11 '17

While i don't know exactly how rxjs works, it hasn't played a role in what react has started, perhaps i should have written react-like, not reactive. As for polling, reacts setstate doesn't poll, neither does redux, unless you mean the subscribers equality check, and mobx uses the observable pattern from the get go. I don't think these details matter much, observables or flux/immutable, its the architecture that allows it that's interesting.

→ More replies (1)