# javascript

Comparing strings - What can go wrong #unicode

What can go wrong with one of the most basic things in programming - lots.

How to test time-dependent code in JavaScript

Time travelling in JavaScript!

Isomorphic handling of promises in libraries like react.js, vue.js, angular, svelte etc.

If you are working on a SPA that connects to an API somewhere, you are going to need to write a lot of fetch requests. Now it's not as simple as fetching something and putting the result on the page.

Build Adonis/Vue apps without an API

A prototype of how to seamlessly integrate Adonis.js and Vue.js.

Good bye API layer. Uniting frontend and backend

A prototype of how to seamlessly integrate frontend and backend code.

Detecting the end of a fluent API chain in JavaScript

Or: how to duck-type internal JavaScript objects!

My webdev related finds for Apr/May 2020

A curated list of blog posts, videos, JS stuff and SVG resources I found in Apr/May.

Breaking free from the request and argument drilling with AsyncHooks

Introduction to an amazing new feature that landed in Node 13.

You may not need vuex. Here are some alternatives

Let's take a look at two approaches you can take before reaching for vuex!

Adonis.js - Advanced factories

Little tricks to simplify writing factories in Adonis.js.

A case against component libraries

CSS frameworks are a great way to quickstart a project. They let you focus on your application rather than the design. This is especially great if you are not a designer and don't have one in your team.

tap tap tap

Turn any non fluent API into a fluent one.

Automatic Dependency Injection in JavaScript series

We learnt about dependency injection and ioc, there is one last step.

IIFEs in JavaScript and how to avoid this common mistake

JavaScript, IIFEs and ASI.

Demystifying Dependency Injection, Inversion of Control, Service Containers and Service Providers series

It's really quite simple.

Extending arrays using proxies in JavaScript series

Subclassing arrays in JavaScript series

Exploring subclassing, a new addition with ES6.

Explaining shallow / deep copying through acronyms series

Learn all about the benefits of JavaScript's array methods and iterables, effectively avoiding temporary variables and conditions, as well as revealing intent.

Array methods and iterables - Stepping up your JavaScript game series

Learn all about the benefits of JavaScript's array methods and iterables, effectively avoiding temporary variables and conditions, as well as revealing intent.

What babel-polyfill doesn't include

babel-polyfill is super easy to use. Just install it from npm and import it in your app. Now you are ready to go and write next level JavaScript without having to worry about browser support, or are you...

Vue vs Vanilla JavaScript - Beginner's Guide series

Comparing the implementation of a VueJs app with vanilla JavaScript and how Vue can help us create readable robust applications.

Build fullstack Javascript apps with Adonis and Vue

Bringing together two amazing frameworks that allow us to build clean applications using only Javascript.