---
title: "Discussion on \"Making React Components Testable\" | Hashnode"
description: "Discussion on \"Making React Components Testable\". Sometimes React components end up being written too complex as requirements change.  When this happens I like to create custom hooks in order to make them easier to understand and test.\nSummary\nIn order to Unit test a React component you need to be a..."
url: "https://hashnode.com/posts/making-react-components-testable/64ffd7c5a2ded9f4164823f2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Making React Components Testable](https://blog.codinglogan.dev/making-react-components-testable?utm_source=hashnode&utm_medium=feed)

Sometimes React components end up being written too complex as requirements change. When this happens I like to create custom hooks in order to make them easier to understand and test. Summary In order to Unit test a React component you need to be a...

Mar 30, 2021 · 6 min read · blog.codinglogan.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Logan Rasmussen](https://hashnode.com/@codingLogan)

@codingLogan

  
[View profile](https://hashnode.com/@codingLogan)

Web Developer @codingLogan

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
