javascript (9)

Gatsby turned out to be too much. But React makes it easy to create your own static site generator.

A while back I rewrote my website using Gatsby which resulted in having to put the website content in the same GIT repository as the Gatsby code. Thus I had to be on a laptop to both write and publi... Keep Reading

#react#javascript

Using AWS Lambda to trigger long running jobs.

AWS Lambda has proven to be a powerful piece of infrastructure, capable of taking parts of our apps that were tied to a long running app server, and turn them into scalable, event driven, service or... Keep Reading

#javascript#lambda#aws#docker#ecs

DynamoDB is a fully managed NoSQL document database provided by AWS

Two methods in DynamoDB allow us to fetch or write many items at once, `batchGetItem` and `batchWriteItem`. They allow us to fetch or write many items, across multiple tables, in a single call. But ... Keep Reading

#aws#dynamodb#javascript#databases

DynamoDB is a fully managed NoSQL document database provided by AWS

Most of the methods in DynamoDB take an object as their first parameter, which provides the necessary information to perform the requested operation. These options include things like the table name... Keep Reading

#aws#dynamodb#javascript#databases

CSS in JS is all the rage, but how do you target nested components?

Using a pattern of CSS overrides in Emotion can enable you to target nested components within a React application. const componentStyles = css`...` <div css={componentStyles}> <MyCompone... Keep Reading

#javascript#react#software#css#emotion#web

Automatically generate component unique test IDs for React

An interesting approach to generating unique identifiers that can be used to target elements, during testing, in your React component render tree. <p data-testid={testIDs.paragraph}>It Works!</p... Keep Reading

#react#react native#testing#javascript

A build time draft state solution for markdown in gatsby.

After completing the rewrite of my personal website using gatsby, I started migrating all my content from my old website to this one. In the process, I remembered that Jekyll had a way of indicatin... Keep Reading

#react#javascript#frontend#gatsby
when.js2014-11-05

Ensure async script dependencies are available before use

I've been thinking about javascript library dependencies (I'm going to use library in place of library/framework so that I don't have to write it a bunch) in the browser lately and the async attribu... Keep Reading

#javascript#frontend#asynchronous
Memoize2014-10-12

How memoizing works and an explanation of a javascript implementation

Being a dad there isn't much to make me prouder than to see my daughter trying to type on my computer so that she can be just like her daddy. So I decided to let her co-author this post with me (ev... Keep Reading

#javascript#frontend