Communities

Home | Parent Topic | Deck | Stream | GDE's

GDE's

Sync to localStorage with React useReducer Hook

In my last post on React custom Hooks vs. Mixins, I compared a custom Hook I recently wrote with its

Sun, 28 Feb 2021 00:00:00 GMT

When I’m 1000000

I thought to share-forward a sweet article/blog I just read in this month’s Communications of t

Thu, 25 Feb 2021 22:54:13 GMT

How to display dates in your user's time zone with the Intl API

How to display dates in your user's time zone with the Intl API

Mon, 22 Feb 2021 00:00:00 GMT

React custom Hooks vs. Mixins

The last couple of weeks, I’ve been working on my latest project, NBA Player Tiers (very much still i

Sun, 21 Feb 2021 00:00:00 GMT

TypeORM Dynamic Collection (Table) name when using MongoDB

TypeORM is one of the most popular Database ORMs available for NodeJS which supports #TypeScript out

Wed, 17 Feb 2021 10:34:13 GMT

5 tips for a healthier DivOps setup

DivOps, probably more commonly known as Frontend Infrastructure, is all of the tooling needed to set

Sun, 14 Feb 2021 00:00:00 GMT

Social media, or, towards a slower internet

I’m going to try to write this and hit publish, and not think to hard about it to get it out. T

Sat, 13 Feb 2021 14:58:22 GMT

33 Additional Web Development Terms You May Not Have Heard Of

33 Additional Web Development Terms You May Not Have Heard Of

Fri, 12 Feb 2021 16:12:59 GMT

8 helpful custom React Hooks

Custom React Hooks allow us to extract component logic into reusable functions. Custom Hooks look ver

Sun, 07 Feb 2021 00:00:00 GMT

Compress รูป บน Front End ก่อน Uploadให้มันจบๆไป Server จะได้สบาย :)

Compress รูป บน Front End ก่อน Uploadให้มันจบๆไป Server จะได้สบาย :)การ Compress รูป เป็นเรื่องที่สำค

Sun, 31 Jan 2021 08:48:45 GMT

Prettier + ESLint = ❤️

A little over a year ago, I found a Prettier setup that works really well for me. Prettier is a highl

Sun, 31 Jan 2021 00:00:00 GMT

Handling async React component effects after unmount

Have you ever gotten this warning while developing React components?Warning: Can't perform a Reac

Sun, 24 Jan 2021 00:00:00 GMT

Use cases for TypeScript const assertions

Have you ever run into a problem where TypeScript incorrectly infers the types of properties of an ob

Sun, 17 Jan 2021 00:00:00 GMT

2020 Year in Review

I wrote one version of year in review and I put it down to let it marinate, and that was about two we

Tue, 12 Jan 2021 02:22:05 GMT

Generate TypeScript Types from GraphQL Schema using Apollo CLI

GraphQL is cool and it helps frontend and backend both, I have been using it for a quite a while and

Sun, 10 Jan 2021 17:35:08 GMT

When to use TypeScript unknown vs any

I try to be as strict as possible when I use TypeScript. I always turn on the strict option in my tsc

Sun, 10 Jan 2021 00:00:00 GMT

Ghost CMS & Linux - Fixing "No Space Left on Device" Issue

A few years ago, I transitioned my blog from a custom ASP.NET website to Ghost CMS. I've been really

Thu, 07 Jan 2021 13:40:50 GMT

Object & array dependencies in the React useEffect Hook

Happy 2021! 🎉Back in October, I gave four options for dealing with helper functions listed as depende

Sun, 03 Jan 2021 00:00:00 GMT

Conditional React Hooks

Hooks launched in React with v16.8 nearly 2 years ago, enabling us to use state and other React featu

Sun, 27 Dec 2020 00:00:00 GMT

Quick way to sort a JavaScript array by multiple fields

Let’s say we have an array of structured objects, like an array of data about the 30 NBA teams:const

Sun, 20 Dec 2020 00:00:00 GMT

Refleksi 2020

Sebentar lagi 2020 akan segera berakhir. Mari review apa yang terjadi sepanjang 2020 di kehidupan pro

Sat, 19 Dec 2020 00:00:00 GMT

Highlights from Chrome Dev Summit 2020

CDS in 2020 was a bit different, like everything else. It was online, and the talks were more bite-si

Mon, 14 Dec 2020 09:37:00 GMT

10 modern JavaScript features to be awesome at React

One of my favorite sayings about React is that it’s “Just JavaScript™.” For better or worse, React hi

Sun, 13 Dec 2020 00:00:00 GMT

Quickie fetch JSON helper for TypeScript

At work and for my personal projects I use the native browser Fetch API for making HTTP requests. It’

Sun, 06 Dec 2020 00:00:00 GMT

Menambahkan Video Watermark dengan ffmpeg

Berikut adalah tips singkat untuk menambahkan watermark di video yang sudah diproduksi, terutama untu

Mon, 30 Nov 2020 00:00:00 GMT

Filtering undefined elements from an array in TypeScript

One feature I really appreciate about TypeScript is nullable type guards.const getProduct = (id: numb

Sun, 29 Nov 2020 00:00:00 GMT

AI in Photography Workflows: Is the Future or the Present?

AI is technology, everywhere. AI, referring to Artificial Intelligence, makes mundane tasks easier an

Fri, 27 Nov 2020 19:10:07 GMT

Type-checking React useReducer in TypeScript

The biggest benefit I’ve found with TypeScript is type-checking functions. TypeScript ensures that I

Sun, 22 Nov 2020 00:00:00 GMT

Developing the Postcard Wall

Some months ago I made a digital experience of a physical project, the postcard wall. Now I’ll

Thu, 19 Nov 2020 03:12:30 GMT

Generic React Components in TypeScript

Two weeks ago I wrote about Conditional React prop types with TypeScript. Last week we learned about

Sun, 15 Nov 2020 00:00:00 GMT

Pandemic Chicken 🐔

I send and receive text messages. It began when I texted a friend “pandemic checkin” to a

Tue, 10 Nov 2020 01:57:53 GMT

Polymorphic React Components in TypeScript

Last week I wrote a post about conditional React prop types with TypeScript that generated a lot of d

Sun, 08 Nov 2020 00:00:00 GMT

Conditional React props with TypeScript

Several months ago I wrote a guide for comparing React prop types to their equivalent TypeScript defi

Sun, 01 Nov 2020 00:00:00 GMT

How I’m (trying) to stop overcommitting

I’ve become aware that I have a bit of a nasty habit of signing up for too many projects and th

Sun, 25 Oct 2020 16:57:07 GMT

Easily kill a process running on a port

Generally when I try to run a web server on an existing port, it will tell me that the port is alread

Sun, 18 Oct 2020 00:00:00 GMT

Access Selenium Test Screenshots on failed GitLab Pipeline Steps

Access Selenium Test Screenshots on failed GitLab Pipeline Steps

Wed, 14 Oct 2020 12:25:12 GMT

min(), max(), and clamp(): Three Logical CSS Functions to Use Today

min(), max(), and clamp(): Three Logical CSS Functions to Use Today

Wed, 14 Oct 2020 00:00:00 GMT

Helper functions in the React useEffect hook

The useEffect hook in React by default runs on every re-render:const Example = () => { const [count,

Sun, 11 Oct 2020 00:00:00 GMT

Four characters can optimize your React component

So… yeah the title is kinda clickbait-y, but it’s kinda true. Take a look at these two code snippets.

Sat, 03 Oct 2020 00:00:00 GMT

Fluid time: What’s on the freedom side?

Spotted and I wanted to share it forward, since I’d like to be writing more about time:Why Bein

Fri, 02 Oct 2020 02:20:25 GMT

Hollow to solid or spun sugar development

I was recently discussing “hollow to solid” product development with a cadre of senior en

Thu, 01 Oct 2020 19:33:40 GMT

Excluding files in git grep

I often use git grep to search around my files because I’m more used to it than other searching

Thu, 17 Sep 2020 17:34:12 GMT

Setup Windows Bagian Pertama

Salah satu fitur menarik dari Windows 10 adalah kemampuan menjalankan Linux tanpa harus reboot atau d

Tue, 15 Sep 2020 00:00:00 GMT
There is an app update available Refresh