<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/jsPlainEnglish/best-of/2022/03" -->

---
title: Best JavaScript in Plain English posts — March 2022
description: The most upvoted JavaScript in Plain English posts from March 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/jsPlainEnglish/best-of/2022/03
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/jsPlainEnglish/best-of/2022/03
og:type: website
og:site_name: daily.dev
og:title: Best JavaScript in Plain English posts — March 2022 | daily.dev
og:description: The most upvoted JavaScript in Plain English posts from March 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of JavaScript in Plain English — March 2022

1. 1  
[](https://daily.dev/posts/clean-up-your-react-code-gsory-tdc "Clean Up Your React Code")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 4y  
Clean Up Your React Code  
React has a declarative programming approach. With prop types, we can make our components (both class and function components) well-defined. By following the composition paradigm we have clean, small, testable components. We can compose these components together and create maintainable, readable, and complex applications.  
113  
6
2. 2  
[](https://daily.dev/posts/why-you-shouldn-t-always-use-usestate--daci3z6mj "Why you shouldn’t always use “useState”")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 4y  
Why you shouldn’t always use “useState”  
UseRef has the same power of persistence that useState has. It sustains the value through the component’s life-cycle, but the cool part is that it is synchronous. When I need to do something immediately and I need it for the flow of my code, then I aim for useRef.  
110  
2

[See all JavaScript in Plain English archives](/sources/jsPlainEnglish/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/jsPlainEnglish/best-of/2022/03#page","url":"https://daily.dev/sources/jsPlainEnglish/best-of/2022/03","name":"Best JavaScript in Plain English Posts — March 2022","description":"The most upvoted JavaScript in Plain English posts from March 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/jsPlainEnglish/best-of/2022/03#items","numberOfItems":2,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/clean-up-your-react-code-gsory-tdc","name":"Clean Up Your React Code"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/why-you-shouldn-t-always-use-usestate--daci3z6mj","name":"Why you shouldn’t always use “useState”"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"JavaScript in Plain English","item":"https://daily.dev/sources/jsPlainEnglish"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/jsPlainEnglish/best-of"},{"@type":"ListItem","position":5,"name":"March 2022"}]}]}
```

