WhateverJS Blog

Written by Luis C. Ruiz. A proactive and disciplined Sr. Software Engineer with rock-solid programming skills in Javascript/Typescript.

Read more about me on LinkedIn.

Testing named exported recursive functions using Jest

November 18, 2020 - 7 min read

In this post I will show you a functional approach for testing named exported recursive functions using Jest.

Read more →

Apprentices won't understand Typescript, I heard

October 04, 2020 - 11 min read

Early this year I was asked to give an introductory Javascript course of three classes (something I already did in the past twice). Although, I like teaching I had to reject the idea and suggested to change to Typescript, the result? I built a small project using Parcel.js bundler, shared it, and got ignored.

Read more →

TemplateRef projection with Context in an Angular Component

January 12, 2020 - 3 min read

Based on a reusable Component I wrote before, I had the idea of improving its layout with an embedded template which will be instantiated inside the component with an attached context.

Read more →

Reusable Angular Material Input Autocomplete form control

December 22, 2019 - 9 min read

In this example I will use an Angular Material Autocomplete form control and show how to implement @angular/forms ControlValueAccessor interface to build a reusable form control. The form control will display a message (like an option) while it waits for results and a message when no results were found.

Read more →

What is this Blog about?

December 15, 2019 - 1 min read

Why did I decide to start a Blog? What will I write about?