kennie j. davis

ken·nie · jay · dav·is | kenē-jā-dāvis

I use this blog to share what I'm learning while developing software with Nx, React, and TypeScript.

kennie j. davis

Recent Articles

Here is what I've been working on most recently using Nx, React, and TypeScript and what I've learned along the way.

September 19th, 2023

Nx, Monorepos, and Rethinking JavaScript Package Management

In the fast-paced world of JavaScript development, we often sprint towards project deadlines, relying on packages like lifelines. Have you considered whether you're truly steering your project's course, or just accumulating fragile dependencies? Explore how Nx and the monorepo approach can empower you to find a balance between innovation and an over-reliance on external code.

August 23rd, 2023

Add GraphQL Code Generation to an Nx Workspace

Consuming a GraphQL endpoint in a TypeScript project adds the additional overhead of generating type definitions for the schema, queries, operations, etc. The GraphQL Code Generator is a fantastic tool to automate this process and it can be added to an Nx workspace with relative ease, especially with the @nxify-io/graphql-codegen plugin.

March 28th, 2022

Wrong Answers are Effective Prompts for Correct Answers

Cunningham's Law states "the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer." After many years of hesitation, I am finally starting this blog knowing I will inevitably post inaccuracies and hope they serve as effective prompts for the correct answers.