Read My Blog
Here you'll find my experiences, thoughts, and opinions about using Nx, React, and TypeScript in my projects.
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.
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.
Quick Tip: Configure ESLint to Allow the Expo StatusBar "style" Prop
ESLint flags the Expo StatusBar style
prop by default; the react/style-prop-object
lint rule offers an easy configuration option to clear this warning.
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.