---
title: "Discussion on \"10 React Practices To Make Your Code Better.\" | Hashnode"
description: "Discussion on \"10 React Practices To Make Your Code Better.\". 1. Functional Components > Class Components\nFunctional components have much simple syntax than class components and more readable.\nAs of now, you can't create error boundaries with class components but if you want but you can also use packages like r..."
url: "https://hashnode.com/posts/10-react-practices-to-make-your-code-better/6089868072387b583d149703"
---

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

Discussion

# [10 React Practices To Make Your Code Better.](https://shubhs.hashnode.dev/10-react-practices-to-make-your-code-better?utm_source=hashnode&utm_medium=feed)

1\. Functional Components > Class Components Functional components have much simple syntax than class components and more readable. As of now, you can't create error boundaries with class components but if you want but you can also use packages like r...

Apr 28, 2021 · 4 min read · shubhs.hashnode.dev  
Updated May 24, 2021  
Read the article

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

## Written by

[Shubham Sananse](https://hashnode.com/@shubham-sns)

@shubham-sns · Gujarat, India

  
[View profile](https://hashnode.com/@shubham-sns)

React Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
