Discover and connect with journalists and influencers around the world, save time on email research, monitor the news, and more.
Recent: |
|
Past: |
|
When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals. 1. Use Array.includes for Multiple Criteria Let's take a look at the example below: // condition function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); } } At first glance, the above example looks good. However, what if we get… → Read More
When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals. 1. Use Array.includes for Multiple Criteria Let's take a look at the example below: // condition function test(fruit) { if (fruit == 'apple' || fruit == 'strawberry') { console.log('red'); } } At first glance, the above example looks good. However, what if we get… → Read More
RxJS operators for Dummies: forkJoin, zip, combineLatest, withLatestFrom → Read More
These are the 3 tips I found pretty handy while working with Typescript: * Eliminating the need to import interfaces * Making all interface properties optional * Stop throwing me error, I know what I'm doing Though I discovered these while working with Angular application, but all tips are not Angular specific, it's just Typescript. Eliminating the need to import interfaces I like interfaces.… → Read More
Angular - Shortcut to Import Styles Files in Component → Read More
In short, when the translators (Google translate, Microsoft translator, etc) translate a sentence from gender neutral language(e.g. Turkish) to a non-gender neutral language(e.g. English), it make a… → Read More
In this article, we will talk about how to handle file uploads with VueJs. We will create an images uploader that allow user to... → Read More
File upload is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More
File upload is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More
File uploading is a common feature that almost every website needs. We will go through step by step on how to handle single and... → Read More
Let's look at a very common use case. You has a list of items, you need to display all nicely on screen in card... → Read More
Let's start with a common use case. You have some data you get from external source (e.g. by calling API). You want to display... → Read More
Angular 2.3 is released! One of the exciting new feature is component inheritance. Component inheritance is very powerful and it can increase your code... → Read More
Javascript Promises are not difficult. However, lots of people find it a little bit hard to understand at the beginning. Therefore, I would like... → Read More
Wait a minute... What is transclusion?Understanding TransclusionDon't get confused by the term Transclusion. It's best explained using an example.Let's say we have a card... → Read More
Angular 2 has re-introduced the module concept since RC 5 onwards (and now Final Release!). Why reintroduced? It's because it exists in Angular... → Read More
In this article, we will be exploring Angular 2 built-in and custom validators.This article is built with Angular RC4.... → Read More
There are two ways to build forms in Angular 2, namely template-driven and model-driven.In this article, we will learn about building model-driven form with... → Read More