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

---
title: Best JavaScript in Plain English posts of 2022 | daily.dev
description: The most upvoted JavaScript in Plain English posts of 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/jsPlainEnglish/best-of/2022
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/jsPlainEnglish/best-of/2022
og:type: website
og:site_name: daily.dev
og:title: Best JavaScript in Plain English posts of 2022 | daily.dev
og:description: The most upvoted JavaScript in Plain English posts of 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 — 2022

1. 1  
[](/posts/how-to-debug-like-a-pro-d42mlrzmq "How to Debug Like a Pro")  
[![Amnah khatun's profile](https://lh3.googleusercontent.com/a-/AOh14GgCsf0Oe-KTBR6ZHZUYHnC0J33jA3n85qO1oGrJ=s100)](https://daily.dev/amnahk)  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
2m read time • Oct 04, 2022  
### How to Debug Like a Pro  
Being a web developer one must be aware of some awesome debugging techniques. To be honest, I have been using console.log() along with debugger to debug my code, but debugging is not limited to these two.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/af0a5b121c590ab73c0438dfe7334412)  
193  
8
2. 2  
[](/posts/time-to-say-goodbye-to-webpack--enrnnxxhl "Time to Say Goodbye to Webpack?")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
5m read time • Jan 31, 2022  
### Time to Say Goodbye to Webpack?  
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. Vite is opinionated and comes with sensible defaults out of the box, but is also highly extensible via its plugin API and JavaScript API with full typing support.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b51738eb0ebba43beb71e697112d0d36)  
191  
9
3. 3  
[](/posts/the-quickest-way-to-become-a-better-developer-yjmzb2xgz "The Quickest Way to Become a Better Developer")  
[![Mauro Erta's profile](https://avatars.githubusercontent.com/u/13780027?v=4&s=64)](https://daily.dev/mauroerta)  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
4m read time • Jul 12, 2022  
### The Quickest Way to Become a Better Developer  
Stopping using the else statement will make you a better developer. The real problem is the whole if-else block that, if used in the wrong way, can quickly become a mess. Refactoring the code to avoid the usage of the else branch will result in a better and more readable code.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f9cf782d3aef86db1e9f6fbdc7142211)  
177  
22
4. 4  
[](/posts/no-more-confusion-about-typescript-s-type-and-interface-lhk-lhy13 "No More Confusion About TypeScript’s Type and Interface")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
3m read time • Aug 18, 2022  
### No More Confusion About TypeScript’s Type and Interface  
Master the similarities and differences between Type and Interface, and understand their usage scenarios. This series will introduce the core knowledge and techniques of TypeScript in the form of animations. In TypeScript 1.6, type aliases began to support generic types.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/be09e192680a2544d32c55bf2a4b5183)  
152  
6
5. 5  
[](/posts/4-best-new-javascript-es2022-features-tkudgaame "4 Best New JavaScript ES2022 Features")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
2m read time • Jul 05, 2022  
### 4 Best New JavaScript ES2022 Features  
The await keyword previously couldn’t be used outside the async box (or function) With ES2022, we can use await without async, for example, to load other code conditionally or dynamically. ‘.at()’ method for arrays will help you get what you want in a line of code.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/003e1ed89bc01eb8c4cfa7418954b1e7)  
135  
7
6. 6  
[](/posts/common-javascript-mistakes-and-best-practices-yupgoqyd "Common JavaScript Mistakes and Best Practices")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
2m read time • Sep 01, 2022  
### Common JavaScript Mistakes and Best Practices  
JavaScript developers adopted the ES6 standards and started using them in daily programming. But aren’t we using some of these functionalities very frequently?

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/675a58fcd68de00f08dd346ba44e72bc)  
115  
4
7. 7  
[](/posts/clean-up-your-react-code-gsory-tdc "Clean Up Your React Code")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
3m read time • Mar 20, 2022  
### 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.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/53003ddd274b02352ce9d5029fac91c4)  
113  
6
8. 8  
[](/posts/why-you-shouldn-t-always-use-usestate--daci3z6mj "Why you shouldn’t always use “useState”")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
3m read time • Mar 17, 2022  
### 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.  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1afb2019ef137d420af534e0c1ac8858)  
110  
2
9. 9  
[](/posts/clean-up-your-react-code-o91pf1oqc "Clean Up Your React Code")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
4m read time • Mar 11, 2022  
### Clean Up Your React Code  
React has a declarative programming approach. To clean up our code, it is important to understand what Declarative Programming means and follow functional programming style. An immutable value is a value that cannot be changed. Instead of mutating the value of the original data, we need to create a new copy and return it.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/0230a2683322231ca2f981ed277c4ee1)  
61  
1
10. 10  
[](/posts/what-are-closures-how-does-it-work-in-javascript--whf2nh4ip "What are Closures & How Does it Work in JavaScript?")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
3m read time • May 09, 2022  
### What are Closures & How Does it Work in JavaScript?  
A closure is a combination of a function bundled together with references to its surrounding state. It makes it possible for a function to have “private” variables. What are Closures & How Does it Work in JavaScript? A tutorial on JavaScript closures with a real-life example.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/093ccb2cb41e0bb4c2862a64f2c540cf)  
54  
2
11. 11  
[](/posts/how-to-improve-your-vs-code-s-appearance-with-settings-8ukzrwl11 "How to Improve Your VS Code’s Appearance with Settings")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
3m read time • Jul 03, 2022  
### How to Improve Your VS Code’s Appearance with Settings  
Having your VS Code appear more pleasing may have a positive effect on your productivity, speed, and confidence within this environment. We can open VS Code’s settings by typing Ctrl + , on a Windows device and on a Mac Cmd + , . We can set the font family, breadcrumbs, window title, and format on save.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2f3b5de60227945464c90cbe245b37df)  
48  
1
12. 12  
[](/posts/web-3-0-frontend-stack-of-2022-building-authentication-with-metamask-react-next-js-and-chakra--sqo2ysesy "🔥 Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
4m read time • Feb 11, 2022  
### 🔥 Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI  
Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI. Vitalii Shevchuk: After a few minutes of this tutorial, you will get connected with the blockchain world. In this project we will use the following tech stack, I would say it’s the best web3.0 stack of 2022 so far.

+6  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ff021a911961e0cc4e2d0d1948c054db)  
49  
1
13. 13  
[](/posts/how-to-become-an-irreplaceable-front-end-talent-in-a-company-jed-zaj-o "How to Become an Irreplaceable Front-end Talent in a Company")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
4m read time • May 13, 2022  
### How to Become an Irreplaceable Front-end Talent in a Company  
In recent years, the front-end has developed very fast. Front-end practitioners rarely talk about program design principles or design ideas. This inevitably leads to the back-end code being written as spaghetti. Let’s learn how to become an irreplaceable talent in a company like this colleague.

+2  
47  
7
14. 14  
[](/posts/how-to-combine-context-providers-for-cleaner-react-code-nla2hwsox "How to Combine Context Providers for Cleaner React Code")  
[![jsPlainEnglish's profile](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)](/sources/[source]/best-of/[year])  
1m read time • Dec 22, 2022  
### How to Combine Context Providers for Cleaner React Code  
Context Providers are just functions therefore they can be composted, and used to create AppContext provider lets just do that then. With this, we can just pass an array of context providers and they will be combined from left to right. This is the principle that you can apply to develop large scale applications.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5af1a10629f78284931a4b9818dfb8f1)  
41  
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#page","url":"https://daily.dev/sources/jsPlainEnglish/best-of/2022","name":"Best JavaScript in Plain English Posts of 2022","description":"The most upvoted JavaScript in Plain English posts of 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#items","numberOfItems":14,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/how-to-debug-like-a-pro-d42mlrzmq","name":"How to Debug Like a Pro"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/time-to-say-goodbye-to-webpack--enrnnxxhl","name":"Time to Say Goodbye to Webpack?"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/the-quickest-way-to-become-a-better-developer-yjmzb2xgz","name":"The Quickest Way to Become a Better Developer"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/no-more-confusion-about-typescript-s-type-and-interface-lhk-lhy13","name":"No More Confusion About TypeScript’s Type and Interface"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/4-best-new-javascript-es2022-features-tkudgaame","name":"4 Best New JavaScript ES2022 Features"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/common-javascript-mistakes-and-best-practices-yupgoqyd","name":"Common JavaScript Mistakes and Best Practices"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/clean-up-your-react-code-gsory-tdc","name":"Clean Up Your React Code"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/why-you-shouldn-t-always-use-usestate--daci3z6mj","name":"Why you shouldn’t always use “useState”"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/clean-up-your-react-code-o91pf1oqc","name":"Clean Up Your React Code"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/what-are-closures-how-does-it-work-in-javascript--whf2nh4ip","name":"What are Closures \u0026 How Does it Work in JavaScript?"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/how-to-improve-your-vs-code-s-appearance-with-settings-8ukzrwl11","name":"How to Improve Your VS Code’s Appearance with Settings"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/web-3-0-frontend-stack-of-2022-building-authentication-with-metamask-react-next-js-and-chakra--sqo2ysesy","name":"🔥 Web 3.0 Frontend Stack of 2022: Building Authentication with MetaMask, React, Next.js, and Chakra UI"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/how-to-become-an-irreplaceable-front-end-talent-in-a-company-jed-zaj-o","name":"How to Become an Irreplaceable Front-end Talent in a Company"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/how-to-combine-context-providers-for-cleaner-react-code-nla2hwsox","name":"How to Combine Context Providers for Cleaner React Code"}]},{"@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":"2022"}]}]}
```

