Simplify GraphQL requests with React Query, GraphQL Code Generator, and...
Using a GraphQL API comes with distinct advantages. With GraphQL, we can request the exact data we need without ever under- or over-fetching. We can also get multiple resources in a single request. At...
View ArticleChoosing when to build a custom React component library
React component libraries are becoming increasingly popular, and for good reason. They are great tools that guarantee consistency and reusability of UI elements both within and across digital...
View ArticleBuild a robust React app with Husky pre-commit hooks and GitHub Actions
It can be incredibly challenging to build complex React projects from the ground up. They require both upfront knowledge and a deep understanding of an entire ecosystem. In this already complex...
View ArticleUI best practices for loading, error, and empty states in React
Building thought-out and creative UIs is difficult. Even excellent UX/UI designs can never tell the full story of a web app. Because they are only a static representation of something inherently...
View ArticleHow to detect dead code in a frontend project
Having a large amount of dead code in a project can be detrimental to your app for many reasons. Dead code makes the codebase substantially harder to maintain at scale. It also has the potential to...
View ArticleA guide to choosing the right React state management solution
Editor’s note: This article was updated 23 September 2022 to add information on why we need state management in React, add other state management tools previously not included in the article, such as...
View Article