Angular Weekly Weekly curated blogs and tools for Angular pros.

Fundamentals

Conditional types in TypeScript artsy.github.io This year TypeScript gained a new feature that punches far above its weight. Working through our (enormous) backlog of unsorted TypeScript.

Curry and function composition medium.com With the dramatic rise of functional programming in mainstream JavaScript, curried functions have become common in many applications.

WebSockets - a conceptual deep-dive www.ably.io The WebSocket protocol elevated the possibilities of communication over the internet and gave way to a truly real-time web.

Emerging JavaScript pattern: multiple return values loige.co I want to explore an interesting pattern that I am seeing more and more in JavaScript code which allows you to return multiple values from a function.

Transducers: efficient data processing pipelines in JavaScript medium.com Prior to taking on transducers, you should first have a strong understanding of both reducers and function composition.

Best-practices

RxJS in practice medium.com I’m writing this post because I’m seeing an improper usage of RxJS in people’s hands everywhere.

Typed translations in Angular medium.com If you ever had a problem with maintenance of i18n, there is a simple solution. It uses TypeScript, dependency injection and lazy loading as an elegant way to have your project translated and under control.

Error handling with Angular 6 scotch.io First we will describe traditional approaches using ErrorHandler and HttpClient, and then we will show you a better solution using HttpInterceptor.

Content projection with slots in Angular Elements (>=7) www.softwarearchitekt.at Since Angular 7, we can use slots to project markup into an component’s template. This article shows how to use both, Shadow DOM v1 and slots.

Creating a custom form field control compatible with Reactive forms and Angular Material itnext.io Angular and Angular material provide a variety of the basic html form controls. But what happens when we use more complex ones like rich editor, file uploader, etc.

Tutorials

Testing Angular container components blog.angularindepth.com Learn tactics for testing RxJS observables and application state commands. Opt out of Angular testing modules for blazingly fast unit tests.

Real world App: part 24 - Angular workspace blog.realworldfullstack.io Using Angular workspace to split up the app into project application and libraries.

Continuously deploy your Angular application developer.ibm.com Learn how to set up a new Angular application and deploy that app as a static Cloud Foundry site, using DevOps services for automated deployment.

Use TypeScript to build a Node API with Express developer.okta.com This tutorial walks you through building a simple and secure Node application using TypeScript, Express, and Okta.

Vikram @vikerman I added server side rendering to a team I wasn't part of - Google Shopping Express. I debug test failures across Google on a daily basis. None of this would be possible without losing my sanity if not for the readability provided by Angular. That's all I wanted to say. 8:04 PM - 21 Nov 2018

Angular 7 - Role based authorization tutorial with example jasonwatmore.com A custom authentication and role based authorization / access control example built with Angular 7, TypeScript and Webpack 4

Build interactive lists with the new Angular 7 drag and drop tool blog.angularindepth.com Learn about and take a good look at how to use the Drag and Drop tool in the Angular Material Development Kit.

Angular router series: pillar 3 — lazy loading, AOT and preloading blog.angularindepth.com This article explains how the router handles lazy loading in AOT and JIT scenarios, as well as how preloading strategies are implemented.

Tools

Testing HTTP Requests in Node.js using Nock alligator.io In this article you will learn how to easily test out your HTTP requests with a library called Nock.

Indexing in Algolia using serverless functions (and observables!) www.sanity.io With Sanity’s powerful export API it’s easy to make a small serverless function in order to index all your content in Algolia for the times you want to harness its search capabilities. It’s also a nice way to learn about observables in JavaScript.

Perspectives

The forgotten history of OOP medium.com The functional and imperative programming paradigms we use today were first explored mathematically in the 1930s with lambda calculus and the Turing machine.

Peeking under the hood of redesigned Gmail medium.com Half a year ago Google announced an updated version of Gmail interface. Despite multiple complaints from people, this is the default interface now.

Experimenting with brain-computer interfaces in JavaScript medium.com I’ve had a growing interest in neurotechnology. This blog post is about sharing the things I’ve learnt along the way and hopefully help people who want to start.

Understand limitations template syntax desugaring in Angular 7 www.bennadel.com Ben Nadel digs into the “ng-template” syntax and the apparent limitations of desugaring in Angular 7.0.4.

Presentations

Top 10 RxJs Operators in Angular [Angular Series]

Refactoring Angular Apps - How to Keep Angular Apps Clean

Did you enjoy this issue?

If you don't want these updates anymore, please unsubscribe here