---
title: "Discussion on \"5 tips to write scalable react code:\" | Hashnode"
description: "Discussion on \"5 tips to write scalable react code:\". 1) Organize local and global state:\n\nReact is a library that manages the UI based on its current state.\nwe can manage the state locally or globally (using context API, redux etc)\n\nRather than using Redux/Context-API to keep track of every single stat..."
url: "https://hashnode.com/posts/5-tips-to-write-scalable-react-code/620119ef295d276006776951"
---

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

Discussion

# [5 tips to write scalable react code:](https://krishnatyagi.hashnode.dev/5-tips-to-write-scalable-react-code?utm_source=hashnode&utm_medium=feed)

1) Organize local and global state: React is a library that manages the UI based on its current state. we can manage the state locally or globally (using context API, redux etc) Rather than using Redux/Context-API to keep track of every single stat...

Feb 7, 2022 · 2 min read · krishnatyagi.hashnode.dev  
Read the article

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

## Written by

[krishna tyagi](https://hashnode.com/@krishnatyagi)

@krishnatyagi · delhi, India

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

Full stack web developer

I am a web developer from delhi, India and I love to create things that live on the internet. I am quite adept in coding and markup languages and in creating applications using the client-server model including ReactJs NodeJs HTML CSS/SCSS JavaScript Typescript MongoDB NextJs I can also build business and personal portfolio websites using CMS software like WordPress, webflow, shopify and Wix Besides this, I am an Engineering Undergrad who loves to read and listen to rap music.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
