jsmanifest logojsmanifest

Posts

Browse all articles about JavaScript, React, TypeScript, and web development.

Adapter Pattern in JavaScript

Adapter Pattern in JavaScript

October 29, 2020

This post will go over the Adapter Pattern in JavaScript and explain why the pattern is important and why it can be beneficial modern programming

javascriptadapterdesign pattern
Best Practices to Control Your Errors

Best Practices to Control Your Errors

September 12, 2020

This post will go over robust strategies to control errors in your app

javascripterrors
The Power of Functions Returning Other Functions in JavaScript

The Power of Functions Returning Other Functions in JavaScript

June 8, 2020

This post will go over some examples of working with functions and composing them together to create more functions to do more things

javascripthigher order functioncomposition+4
5 Critical Tips for Composing Event Handler Functions in React

5 Critical Tips for Composing Event Handler Functions in React

May 17, 2020

We will be going over 5 critical tips to compose event handlers in react. This post will not cover everything that is possible, but it will cover important ways to compose event handlers that every react developer should know, minimally

javascriptcompositioncomposing+9
Dont Depend On State From Callback Handlers in React

Dont Depend On State From Callback Handlers in React

April 19, 2020

Avoiding closures in react that reference state values from their callback handlers

javascriptreactclosure+4
How To Maximize Reusability For Your React Components

How To Maximize Reusability For Your React Components

April 14, 2020

This article will go over maximizing the capabilities of reusability in react and provide some tips and tricks you can use on your react app today. It will be demonstrated by building an actual react component and explaining step by step on why some steps are taken and what can be done to improve the reusability on them

javascriptreactreusability+1
Dependency Injection Container in JavaScript

Dependency Injection Container in JavaScript

April 7, 2020

This pattern provides the same goal as the Dependency Injection, but in a more flexible and powerful way by acting as the container that houses dependencies of functions (or classes) that require them when times they need it, such as during their initialization phase.

javascriptdependency injectiondependency injection container+3
9 Ways in React to Manipulate and Work With Components in 2020

9 Ways in React to Manipulate and Work With Components in 2020

April 1, 2020

In this article we will be going over 9 ways to manipulate and work with React components in 2020

javascriptreacttypescript+8
The Power of Recursion in JavaScript

The Power of Recursion in JavaScript

March 28, 2020

We will talk about the benefits of recursion, why we need it, and show great examples of recursion in use

javascriptrecursionhigher order function
Composing Functions in JavaScript

Composing Functions in JavaScript

March 12, 2020

In this article, we will go over some examples of composing in JavaScript and talk about important concepts that always need to be kept in mind when composing

javascriptcompositionreact+2
Generics in TypeScript

Generics in TypeScript

March 5, 2020

This post aims to go over generics in TypeScript and talk about what they are, how they work, and why we even need them.

javascriptgenericstypescript
Decorators in JavaScript

Decorators in JavaScript

February 23, 2020

We'll be taking a look at some examples of decorators in JavaScript and create our own decorator to see how it can be useful to our code

javascriptdecoratorscomposition+1