Digests » 151


An Almost Ideal React Image Component

This started as an exercise - how to build ideal React image component. The focus was more on UX and browser capabilities, rather than React code. I created react component and published it to npm, but it has no tests and not battle tested in the wild, use it at your own risk.

React with Typescript cheatsheet

This is meant to be an intermediate guide for React developers familiar with the concepts of Typescript but who are just getting started writing their first React + Typescript apps.

Gatsby, the Open Source React-Based Static Site Generator, Gets Commercial Backing

SSGFS: static site generator fatigue syndrome. It’s a thing, people. With five hundred plus SSGs roaming the wild these days — everything from Ace, written in Ruby, to Zodiac, written in awk and sh — SSG-related announcements likely generate a collective ¯\_(ツ)_/¯ amongst developers.

Extracting a React JS component and publishing it on NPM

So, you’ve created an awesome React JS component and want to share it with other developers. That’s awesome! In this post, I’ll show you how to do that.

Render Props in React

First, what is a render prop (RP)? A RP is simply a prop that takes a function which returns elements that will be used in render().