26 May 2018

Lighthouse 3.0. Beyond SPAs. React 16.4 released. Angular Ivy - First look

Hey everyone, welcome to the sixth issue of ES Guy. It would have been seventh issue but unfortunately I was travelling last week and was not able to send it out. However, I have included some of the links etc from last week into this issue.

News from the Week

Highlights of this week mainly include the launch of Lighthouse 3.0 with a bunch of new features to help you audit your web apps better. Have a look at this official announcement.

Also watch this talk on web performance

Read and Watch

Here are some of the articles and talks to watch for the week

Open Source

Changelogs

Here is the list of releases from this week with the links to changelogs

Did you know

Although very uncommon and advised not to be used at all, did you know that JavaScript has labelled statements like goto in C++? Here is an example

var i, j;

loop1:
for (i = 0; i < 3; i++) {      //The first for statement is labeled "loop1"
   loop2:
   for (j = 0; j < 3; j++) {   //The second for statement is labeled "loop2"
      if (i === 1 && j === 1) {
         continue loop1;
      }
      console.log('i = ' + i + ', j = ' + j);
   }
}

// Output is:
//   "i = 0, j = 0"
//   "i = 0, j = 1"
//   "i = 0, j = 2"
//   "i = 1, j = 0"
//   "i = 2, j = 0"
//   "i = 2, j = 1"
//   "i = 2, j = 2"
// Notice how it skips both "i = 1, j = 1" and "i = 1, j = 2"

Have a look at this MDN link for further details

And that’s it for this issue. Stay tuned for the next week. Plus if you don’t already know, the source of the website can be found at github. If you have any feedback, suggestions or things to share, feel free to Submit a PR or open an issue