[kwlug-disc] Which JavaScript should I learn?

Mikalai Birukou mb at 3nsoft.com
Tue Mar 13 10:51:12 EDT 2018


This is opinionated. Opinions are derived from experience.

Whatever you write in JavaScript, do write in TypeScript with tools like 
VSCode. TypeScript is a type-zen for JS. TS types don't exist in 
runtime, yet they exist when you write code. TS saves tons of developer 
time.

Use Vue for your SPA (Single Page Application). It took best parts of 
Angular and React, polar views on the world. You'll find more flexible 
packaging, and your app may be a Web Component in another page. And 
TypeScript+Vue story is now good.

Don't worry about Web Assembly, unless your front-end code already 
exists in C/C++/Rust, or if it is some heavy lifting, for which 2X+ 
speedup is worth an effort to make a browser-JS-WASM-Rust daisy chain. 
WASM will eventually come to bloom, when it becomes multi-threaded.

Have I mentioned TypeScript?

Cheers.


On 2018-03-13 02:12 AM, William Park via kwlug-disc wrote:
> Hi all,
>
> I have a general question about JavaScript.  I want to develop/propose
> "web app" hosted from embedded Linux board.  So,
>      - you go to its webpage,
>      - click "web app",
>      - it will serve out JavaScript to browser client, and
>      - the app will be running on the browser.
>
> Which Javascript should I learn?
>
> I mean, there are Meteor, Angular, React, Ember, Vue, etc.  Some are
> described as "framework", and others described as "library".  Then,
> there is Web Assembly I've been reading about recently.  It's difficult
> to figure out what's what.





More information about the kwlug-disc mailing list