SlideShare a Scribd company logo
JS Digest
December 2017
By Dmytro Mysak,
Software Developer
www.eliftech.com
▪ Kill Internet Explorer
▪ Google Chrome 63 Released
▪ How to Cancel Your Promise
▪ Parcel
▪ Turbo
▪ Average Page Load Times for
2018
▪ Vulnerable JavaScript
Libraries
▪ New theming API in Firefox
▪ Bower is dead
▪ Extension Tree Style Tab:
Reborn
▪ React v16.2.0
▪ WebStorm 2017.3.1
▪ The Best JavaScript and CSS
Libraries for 2017
In December 2017 edition:
www.eliftech.com
Kill Internet Explorer Once and For All
Web developers have had enough! Internet
Explorer has very little compatibility, yet
we are still required to write code to
accommodate this archaic browser. We
want to use ES6 :(
For more details click here.
www.eliftech.com
Google Chrome 63 Released
▪ Google has redesigned
▪ the chrome://flags section.
▪ Chrome now lets you mute sites forever.
▪ FTP links are now marked as insecure.
▪ Chrome now shows warnings against
▪ MitM attacks.
▪ Chrome now uses better site isolation.
▪ Chrome now comes with a Device Memory
API that lets developers better understand
how Chrome and websites use a PC's memory.
▪ Chrome can now load JavaScript modules
based on runtime conditions. It previously
supported only static JavaScript module
loading.
And a lot of more here
www.eliftech.com
How to Cancel Your Promise ?
You need to build a workaround. To see code realization click here.
On that site, we have examples for:
▪ Bluebird
▪ Pure Promises
▪ generators
www.eliftech.com
Parcel
Parcel - blazing fast, zero configuration web application bundler.
Based on a reasonably sized app, containing 1726 modules, 6.5M uncompressed. Built on a
2016 MacBook Pro with 4 physical CPUs.
www.eliftech.com
Parcel
▪ Blazing fast bundle times - Parcel uses worker processes to enable multicore
compilation, and has a filesystem cache for fast rebuilds even after a restart.
▪ Bundle all your assets - Parcel has out of the box support for JS, CSS, HTML, file assets,
and more - no plugins needed.
▪ Automatic transforms - Code is automatically transformed using Babel, PostCSS, and
PostHTML when needed - even node_modules.
▪ Zero config code splitting - Using the dynamic import() syntax, Parcel splits your output
bundles so you only load what is needed on initial load.
▪ Hot module replacement - Parcel automatically updates modules in the browser as you
make changes during development, no configuration needed.
▪ Friendly error logging - Parcel prints syntax highlighted code frames when it
encounters errors to help you pinpoint the problem.
More information here.
www.eliftech.com
Turbo: 5x faster than Yarn & NPM, and runs natively in-
browser
Turbo is a blazing fast NPM client originally built for StackBlitz that:
● Installs packages ≥5x faster than Yarn & NPM 🔥
● Reduces the size of node_modules up to two orders of magnitude 😮
● Has multiple layers of redundancy for production grade reliability 💪
● Works entirely within your web browser, enabling lightning fast dev environments ⚡️
www.eliftech.com
Why?
Instead of downloading entire
tarballs, Turbo is smart and only
retrieves the files that are directly
required from the main, typings
and other relevant fields.
For more details click
here.
www.eliftech.com
www.eliftech.com
Average Page Load Times for 2018
▪ What are the new average page load times?
▪ What’s the typical size of a webpage you should aim to be under?
▪ How many resources does the standard page load?
▪ What’s the average server delay, measure in time to first byte?
www.eliftech.com
What is the average load time?
www.eliftech.com
What is the average webpage size?
www.eliftech.com
What is the average number of resources?
www.eliftech.com
What is the average server delay?
www.eliftech.com
How to compare with your site load time/size/resources?
There are a few great simple site speed tools out there:
1. WebPageTest: The industry standard for measuring site performance – results are
collected from real browsers running common operating systems.
2. Pingdom: a simple tool which makes makes the same measurements, yet method of
testing is undocumented.
3. GTmetrix: gives you actionable insights about the best way to optimize your webpage
speed.
For more information click here.
www.eliftech.com
77% of 433,000 Sites Use Vulnerable JavaScript Libraries
State of Open Source Security discoveries the report mentions is that an analysis of around
433,000 sites found that 77% of them use at least one front-end JavaScript library with a
known security vulnerability.
More information here.
www.eliftech.com
The Top
LIBRARY NUMBER OF TIMES FOUND
VULNERABLE
% OF ALL INSTANCES OF THIS LIB
DETECTED
jQuery 318,786 92.5%
jQuery UI 74,486 89.7%
Moment.js 10,245 73.0%
AngularJS 7,609 84.8%
Handlebars 3,129 60.7%
Mustache 1,925 51.0%
YUI 3 559 40.3%
jQuery Mobile 413 3.7%
Knockout 407 19.6%
React 181 10.2%
www.eliftech.com
The Top
LIBRARY OLDEST VERSION WITH NO KNOWN
VULNERABILITIES
RELEASE DATE
jQuery 3.0.0 June, 2016
jQuery UI 1.10.0 January, 2013
Moment.js 2.15.2 October, 2016
AngularJS 1.6.1 December, 2016
Handlebars 4.0.0 September, 2015
Mustache 2.2.1 December, 2015
YUI 3 3.10.3 June, 2016
jQuery Mobile 1.2.0 October, 2012
Knockout 3.0.0 October, 2013
React 0.14.0 October, 2015
www.eliftech.com
Using the new theming API in Firefox
From powerful extensions like Stratiform or FT Deep Dark to simple lightweight themes,
theming has been quite popular within Firefox. Now that Firefox Quantum (57) has
launched with many performance improvements and a sparkling new interface, we want to
bridge the gap with a new theming API that allows you to go beyond basic lightweight
themes.
www.eliftech.com
Dynamic themes
Read more here.
www.eliftech.com
Bower is dead
Bower is no longer the dependency manager of choice for front-end projects. While the
open source project is still maintained, its creators decided to deprecate it, and advise how
to migrate to other solutions—namely Yarn and webpack.
Six reasons to stop using Bower and switch to a new workflow:
1. Bower has been deprecated by its creators
2. Bower offered a flat dependency graph, which you can now get with NPM and
Yarn
3. Bower adds complexity and is redundant because it requires NPM
4. Bower has a separate package ecosystem
5. Bower put the burden of dependency management on the user
6. Bower doesn’t support different versions of the same package on the same page
For more info click here.
www.eliftech.com
A Classic Extension Reborn: Tree Style Tab
For more information click here.
www.eliftech.com
React v16.2.0
React 16.2 is now available! The biggest addition is improved support for returning multiple
children from a component’s render method. this feature call fragments:
www.eliftech.com
React v16.2.0
For more info click here.
Prior to version 16HTML text React 16.0
Fragment component JSX Fragment Syntax
www.eliftech.com
WebStorm 2017.3.1 is now available
▪ Support for Fragments in React 16.2;
▪ Configurable code completion for JSX attributes (WebStorm automatically adds ={} or
="" after the attribute name);
www.eliftech.com
WebStorm 2017.3.1
▪ Adding interpolation inside template strings;
For more details press here.
www.eliftech.com
The Best JavaScript and CSS Libraries for 2017
For top 20 libraries for JSand CSS click here.
www.eliftech.com
Thank you for reading!
Find us at eliftech.com
Have a question? Contact us:
info@eliftech.com

More Related Content

PDF
Technical SEO for WordPress - 2019 edition
PDF
Modern Web Application Development Workflow - EclipseCon US 2014
PDF
Nürnberg WooCommerce Talk - 11/24/16
PDF
Getting Started With WP REST API
PDF
How to make your Webpack builds 10x faster
PDF
Introducing WordPress Multitenancy (Wordcamp Vegas/Orlando 2015/WPCampus)
PDF
Search in WordPress - how it works and howto customize it
PPTX
Level Up: 5 Expert Tips for Optimizing WordPress Performance
Technical SEO for WordPress - 2019 edition
Modern Web Application Development Workflow - EclipseCon US 2014
Nürnberg WooCommerce Talk - 11/24/16
Getting Started With WP REST API
How to make your Webpack builds 10x faster
Introducing WordPress Multitenancy (Wordcamp Vegas/Orlando 2015/WPCampus)
Search in WordPress - how it works and howto customize it
Level Up: 5 Expert Tips for Optimizing WordPress Performance

What's hot (20)

PPTX
WordPress + NGINX Best Practices with EasyEngine
PDF
WordCamp RVA 2011 - Performance & Tuning
PPTX
I Can Haz More Performanz?
PDF
Speeding up your WordPress Site - WordCamp Toronto 2015
PDF
Introduction to Development for the Internet
PDF
Single page apps with drupal 7
PDF
Speed Up Wordpress, Wordpress Horsepower
PDF
EasyEngine - Command-Line tool to manage WordPress Sites on Nginx
PDF
Herding cats managing ColdFusion servers with commandbox
PDF
Less and faster – Cache tips for WordPress developers
PPTX
Varying wordpressdevelopmentenvironment wp-campus2016
PDF
Realtime with websockets
PDF
Get Started in Professional WordPress Design & Development
PDF
About Caching
PDF
2013 - Igor Sysoev - NGINx: origen, evolución y futuro - PHP Conference Argen...
PPTX
WordPress Development with VVV, VV, and Vagrant
PDF
Meta Refresh 2014
PPTX
Piecing Together the WordPress Puzzle
PDF
Cluster Fudge: Recipes for WordPress in the Cloud (WordCamp Austin 2014 Speaker)
PDF
Managing a WordPress Site as a Composer Project by Rahul Bansal @ WordCamp Na...
WordPress + NGINX Best Practices with EasyEngine
WordCamp RVA 2011 - Performance & Tuning
I Can Haz More Performanz?
Speeding up your WordPress Site - WordCamp Toronto 2015
Introduction to Development for the Internet
Single page apps with drupal 7
Speed Up Wordpress, Wordpress Horsepower
EasyEngine - Command-Line tool to manage WordPress Sites on Nginx
Herding cats managing ColdFusion servers with commandbox
Less and faster – Cache tips for WordPress developers
Varying wordpressdevelopmentenvironment wp-campus2016
Realtime with websockets
Get Started in Professional WordPress Design & Development
About Caching
2013 - Igor Sysoev - NGINx: origen, evolución y futuro - PHP Conference Argen...
WordPress Development with VVV, VV, and Vagrant
Meta Refresh 2014
Piecing Together the WordPress Puzzle
Cluster Fudge: Recipes for WordPress in the Cloud (WordCamp Austin 2014 Speaker)
Managing a WordPress Site as a Composer Project by Rahul Bansal @ WordCamp Na...
Ad

Similar to JS digest. Decemebr 2017 (20)

PDF
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
PPTX
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
PPTX
JS digest. November 2017
PDF
The 5 most common reasons for a slow WordPress site and how to fix them
PPTX
Boilerplates: Step up your Web Development Process
PPTX
JS digest. October 2017
PDF
Website & Internet + Performance testing
PPTX
JS digest. July 2018
PPTX
Web Performance Optimization
PPTX
Joomla! Performance on Steroids
PPTX
Best Practices for WordPress in Enterprise
PDF
12-Step Program for Scaling Web Applications on PostgreSQL
PDF
What is Nginx and Why You Should to Use it with Wordpress Hosting
PDF
JS digest. May 2017
PDF
Best practices-wordpress-enterprise
PDF
23 Ways To Speed Up WordPress
PPTX
Word press optimizations
PDF
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
PDF
Desktop apps with node webkit
PPTX
Best Practices for Building WordPress Applications
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
JS digest. November 2017
The 5 most common reasons for a slow WordPress site and how to fix them
Boilerplates: Step up your Web Development Process
JS digest. October 2017
Website & Internet + Performance testing
JS digest. July 2018
Web Performance Optimization
Joomla! Performance on Steroids
Best Practices for WordPress in Enterprise
12-Step Program for Scaling Web Applications on PostgreSQL
What is Nginx and Why You Should to Use it with Wordpress Hosting
JS digest. May 2017
Best practices-wordpress-enterprise
23 Ways To Speed Up WordPress
Word press optimizations
The Superhero’s Method of Modern HTML5 Development by RapidValue Solutions
Desktop apps with node webkit
Best Practices for Building WordPress Applications
Ad

More from ElifTech (20)

PPTX
Go Concurrency Patterns
PPTX
Go Concurrency Basics
PPTX
Domain Logic Patterns
PPTX
Dive into .Net Core framework
PPTX
VR digest. August 2018
PPTX
VR digest. July 2018
PPTX
IoT digest. July 2018
PPTX
VR digest. June 2018
PPTX
IoT digest. June 2018
PPTX
IoT digest. May 2018
PPTX
Object Detection with Tensorflow
PPTX
VR digest. May 2018
PPTX
Polymer: brief introduction
PPTX
JS digest. April 2018
PPTX
VR digest. April, 2018
PPTX
IoT digest. April 2018
PPTX
IoT digest. March 2018
PPTX
VR digest. March, 2018
PPTX
VR digest. February, 2018
PPTX
IoT digest. February 2018
Go Concurrency Patterns
Go Concurrency Basics
Domain Logic Patterns
Dive into .Net Core framework
VR digest. August 2018
VR digest. July 2018
IoT digest. July 2018
VR digest. June 2018
IoT digest. June 2018
IoT digest. May 2018
Object Detection with Tensorflow
VR digest. May 2018
Polymer: brief introduction
JS digest. April 2018
VR digest. April, 2018
IoT digest. April 2018
IoT digest. March 2018
VR digest. March, 2018
VR digest. February, 2018
IoT digest. February 2018

Recently uploaded (20)

PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Transform Your Business with a Software ERP System
PDF
medical staffing services at VALiNTRY
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
System and Network Administraation Chapter 3
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
AI in Product Development-omnex systems
PDF
Nekopoi APK 2025 free lastest update
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Odoo POS Development Services by CandidRoot Solutions
How Creative Agencies Leverage Project Management Software.pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Transform Your Business with a Software ERP System
medical staffing services at VALiNTRY
Operating system designcfffgfgggggggvggggggggg
System and Network Administraation Chapter 3
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Upgrade and Innovation Strategies for SAP ERP Customers
Design an Analysis of Algorithms I-SECS-1021-03
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Which alternative to Crystal Reports is best for small or large businesses.pdf
Odoo Companies in India – Driving Business Transformation.pdf
top salesforce developer skills in 2025.pdf
AI in Product Development-omnex systems
Nekopoi APK 2025 free lastest update

JS digest. Decemebr 2017

  • 1. JS Digest December 2017 By Dmytro Mysak, Software Developer
  • 2. www.eliftech.com ▪ Kill Internet Explorer ▪ Google Chrome 63 Released ▪ How to Cancel Your Promise ▪ Parcel ▪ Turbo ▪ Average Page Load Times for 2018 ▪ Vulnerable JavaScript Libraries ▪ New theming API in Firefox ▪ Bower is dead ▪ Extension Tree Style Tab: Reborn ▪ React v16.2.0 ▪ WebStorm 2017.3.1 ▪ The Best JavaScript and CSS Libraries for 2017 In December 2017 edition:
  • 3. www.eliftech.com Kill Internet Explorer Once and For All Web developers have had enough! Internet Explorer has very little compatibility, yet we are still required to write code to accommodate this archaic browser. We want to use ES6 :( For more details click here.
  • 4. www.eliftech.com Google Chrome 63 Released ▪ Google has redesigned ▪ the chrome://flags section. ▪ Chrome now lets you mute sites forever. ▪ FTP links are now marked as insecure. ▪ Chrome now shows warnings against ▪ MitM attacks. ▪ Chrome now uses better site isolation. ▪ Chrome now comes with a Device Memory API that lets developers better understand how Chrome and websites use a PC's memory. ▪ Chrome can now load JavaScript modules based on runtime conditions. It previously supported only static JavaScript module loading. And a lot of more here
  • 5. www.eliftech.com How to Cancel Your Promise ? You need to build a workaround. To see code realization click here. On that site, we have examples for: ▪ Bluebird ▪ Pure Promises ▪ generators
  • 6. www.eliftech.com Parcel Parcel - blazing fast, zero configuration web application bundler. Based on a reasonably sized app, containing 1726 modules, 6.5M uncompressed. Built on a 2016 MacBook Pro with 4 physical CPUs.
  • 7. www.eliftech.com Parcel ▪ Blazing fast bundle times - Parcel uses worker processes to enable multicore compilation, and has a filesystem cache for fast rebuilds even after a restart. ▪ Bundle all your assets - Parcel has out of the box support for JS, CSS, HTML, file assets, and more - no plugins needed. ▪ Automatic transforms - Code is automatically transformed using Babel, PostCSS, and PostHTML when needed - even node_modules. ▪ Zero config code splitting - Using the dynamic import() syntax, Parcel splits your output bundles so you only load what is needed on initial load. ▪ Hot module replacement - Parcel automatically updates modules in the browser as you make changes during development, no configuration needed. ▪ Friendly error logging - Parcel prints syntax highlighted code frames when it encounters errors to help you pinpoint the problem. More information here.
  • 8. www.eliftech.com Turbo: 5x faster than Yarn & NPM, and runs natively in- browser Turbo is a blazing fast NPM client originally built for StackBlitz that: ● Installs packages ≥5x faster than Yarn & NPM 🔥 ● Reduces the size of node_modules up to two orders of magnitude 😮 ● Has multiple layers of redundancy for production grade reliability 💪 ● Works entirely within your web browser, enabling lightning fast dev environments ⚡️
  • 9. www.eliftech.com Why? Instead of downloading entire tarballs, Turbo is smart and only retrieves the files that are directly required from the main, typings and other relevant fields. For more details click here.
  • 11. www.eliftech.com Average Page Load Times for 2018 ▪ What are the new average page load times? ▪ What’s the typical size of a webpage you should aim to be under? ▪ How many resources does the standard page load? ▪ What’s the average server delay, measure in time to first byte?
  • 12. www.eliftech.com What is the average load time?
  • 13. www.eliftech.com What is the average webpage size?
  • 14. www.eliftech.com What is the average number of resources?
  • 15. www.eliftech.com What is the average server delay?
  • 16. www.eliftech.com How to compare with your site load time/size/resources? There are a few great simple site speed tools out there: 1. WebPageTest: The industry standard for measuring site performance – results are collected from real browsers running common operating systems. 2. Pingdom: a simple tool which makes makes the same measurements, yet method of testing is undocumented. 3. GTmetrix: gives you actionable insights about the best way to optimize your webpage speed. For more information click here.
  • 17. www.eliftech.com 77% of 433,000 Sites Use Vulnerable JavaScript Libraries State of Open Source Security discoveries the report mentions is that an analysis of around 433,000 sites found that 77% of them use at least one front-end JavaScript library with a known security vulnerability. More information here.
  • 18. www.eliftech.com The Top LIBRARY NUMBER OF TIMES FOUND VULNERABLE % OF ALL INSTANCES OF THIS LIB DETECTED jQuery 318,786 92.5% jQuery UI 74,486 89.7% Moment.js 10,245 73.0% AngularJS 7,609 84.8% Handlebars 3,129 60.7% Mustache 1,925 51.0% YUI 3 559 40.3% jQuery Mobile 413 3.7% Knockout 407 19.6% React 181 10.2%
  • 19. www.eliftech.com The Top LIBRARY OLDEST VERSION WITH NO KNOWN VULNERABILITIES RELEASE DATE jQuery 3.0.0 June, 2016 jQuery UI 1.10.0 January, 2013 Moment.js 2.15.2 October, 2016 AngularJS 1.6.1 December, 2016 Handlebars 4.0.0 September, 2015 Mustache 2.2.1 December, 2015 YUI 3 3.10.3 June, 2016 jQuery Mobile 1.2.0 October, 2012 Knockout 3.0.0 October, 2013 React 0.14.0 October, 2015
  • 20. www.eliftech.com Using the new theming API in Firefox From powerful extensions like Stratiform or FT Deep Dark to simple lightweight themes, theming has been quite popular within Firefox. Now that Firefox Quantum (57) has launched with many performance improvements and a sparkling new interface, we want to bridge the gap with a new theming API that allows you to go beyond basic lightweight themes.
  • 22. www.eliftech.com Bower is dead Bower is no longer the dependency manager of choice for front-end projects. While the open source project is still maintained, its creators decided to deprecate it, and advise how to migrate to other solutions—namely Yarn and webpack. Six reasons to stop using Bower and switch to a new workflow: 1. Bower has been deprecated by its creators 2. Bower offered a flat dependency graph, which you can now get with NPM and Yarn 3. Bower adds complexity and is redundant because it requires NPM 4. Bower has a separate package ecosystem 5. Bower put the burden of dependency management on the user 6. Bower doesn’t support different versions of the same package on the same page For more info click here.
  • 23. www.eliftech.com A Classic Extension Reborn: Tree Style Tab For more information click here.
  • 24. www.eliftech.com React v16.2.0 React 16.2 is now available! The biggest addition is improved support for returning multiple children from a component’s render method. this feature call fragments:
  • 25. www.eliftech.com React v16.2.0 For more info click here. Prior to version 16HTML text React 16.0 Fragment component JSX Fragment Syntax
  • 26. www.eliftech.com WebStorm 2017.3.1 is now available ▪ Support for Fragments in React 16.2; ▪ Configurable code completion for JSX attributes (WebStorm automatically adds ={} or ="" after the attribute name);
  • 27. www.eliftech.com WebStorm 2017.3.1 ▪ Adding interpolation inside template strings; For more details press here.
  • 28. www.eliftech.com The Best JavaScript and CSS Libraries for 2017 For top 20 libraries for JSand CSS click here.
  • 29. www.eliftech.com Thank you for reading! Find us at eliftech.com Have a question? Contact us: info@eliftech.com