Menu

JavaScript News

A Bit on CI/CD

August 26th, 2020

I’d say “website” fits better than “mobile app” but I like this framing from Max Lynch: Every production mobile app ultimately has a set of recurring tasks around integration, testing, deployment, and long term maintenance. These tasks often must be automated across a team of many developers and app projects. Building a process for these…

Angular CLI Strict Mode

August 26th, 2020

In Angular, we strongly believe in consistency and best practices. For example, we adopted TypeScript in its early days because we wanted all developers using the framework to take advantage of compile-time type checking. This way, we enabled an excellent development experience for everyone with better editor support, allowing people to ship apps with fewer issues….

Doom Damage Flash on Scroll

August 25th, 2020

The video game Doom famously would flash the screen red when you were hit. Chris Johnson not only took that idea but incorporated a bunch of the UI from Doom into this tongue-in-cheek JavaScript library called Doom Scroller. Get it? Like, doom scrolling, but like, Doom scrolling. It’s funny, trust me. I extracted bits from…

How I contributed to Angular Components

August 24th, 2020

In this post, I want to share my experience and lessons learned contributing to @angular/components and collaborating with the team at Google maintaining it. As an engineer at Infragistics, among other things, I am responsible for developing and maintaining our IgxOverlayService. It allows rendering of an Angular component or an ElementRef overlaying other content in…

Optimize Images with a GitHub Action

August 20th, 2020

I was playing with GitHub Actions the other day. Such a nice tool! Short story: you can have it run code for you, like run your build processes, tests, and deployments. But it’s just configuration files that can run whatever you need. There is a whole marketplace of Actions wanting to do work for you….

Never Build a CSV Importer Again

August 20th, 2020

CSV import as a process is broken. Messy customer data, edge cases, encoding formats, error messages, non-technical users: importing data into applications is a huge pain! Ingesting data has been long neglected as a software product experience, leading to customer frustration and wasted engineering cycles rebuilding what those users already expect to have. It’s a…

AngularJS LTS Extended in response to COVID-19

August 17th, 2020

Back on July 27th, via the official Twitter account, we announced that in response to COVID-19 the team will extend AngularJS LTS by 6 months. Photo by Mark Thompson Background AngularJS is still an extremely stable framework for building web applications and has millions of developers across the world wide web. Its successor Angular which uses the…

Practical Use Cases for JavaScript’s closest() Method

August 12th, 2020

Have you ever had the problem of finding the parent of a DOM node in JavaScript, but aren’t sure how many levels you have to traverse up to get to it? Let’s look at this HTML for instance: <div data-id=”123″>   <button>Click me</button> </div> That’s pretty straightforward, right? Say you want to get the value…

React v17.0 Release Candidate: No New Features

August 9th, 2020

Today, we are publishing the first Release Candidate for React 17. It has been two and a half years since the previous major release of React, which is a long time even by our standards! In this blog post, we will describe the role of this major release, what changes you can expect in it,…

TypeScript, Minus TypeScript

August 6th, 2020

Unless you’ve been hiding under a rock the last several years (and let’s face it, hiding under a rock sometimes feels like the right thing to do), you’ve probably heard of and likely used TypeScript. TypeScript is a syntactical superset of JavaScript that adds — as its name suggests — typing to the web’s favorite…