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

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

1. 1  
[](/posts/clean-up-your-code-with-design-patterns-in-javascript-sopfjibx0 "Clean Up Your Code With Design Patterns in Javascript")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
4m read time • Dec 06, 2021  
### Clean Up Your Code With Design Patterns in Javascript  
Design patterns are a bit of a controversial topic in the dev community. Some developers believe they are overly complicated, others are dogmatic about using them. Let's unpack a few commonly-used JavaScript design patterns together, and discuss how they can make your code cleaner and easier to maintain.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/98dcb94a57e8a4a81a11e36265418874)  
111  
2
2. 2  
[](/posts/javascript-marathon-how-to-write-clean-code-btorpcjl5 "JavaScript Marathon: How to Write Clean Code")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
2m read time • Dec 06, 2021  
### JavaScript Marathon: How to Write Clean Code  
Clean code is an essential part of any developer’s toolkit. Not only does it ensure legibility, but it also helps you and other developers understand what your code is doing at a quick glance. In order to write clean code, a combination of proper naming with variables, functions and components is needed.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/57c51e3c2d89c3d27a1f48451293626d)  
26
3. 3  
[](/posts/how-to-get-into-rust-as-a-typescript-developer-bwh5uos5h "How to get into Rust as a TypeScript Developer")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
9m read time • Sep 01, 2021  
### How to get into Rust as a TypeScript Developer  
Rust is a strongly typed language that is also statically typed. It has the speed I wanted, and is a one-stop shop for all of my language needs. The documentation alone is OUTSTANDING. It feels like I'm working with npm scripts in a package.json file. As a JavaScript developer, I feel right at home.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2c043f3f30d088fd1d0ce86a493f4726)  
18  
1
4. 4  
[](/posts/building-full-stack-react-apps-with-next-js-api-routes-7fprjwik0 "Building full-stack React apps with Next.js API routes")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
6m read time • Dec 17, 2021  
### Building full-stack React apps with Next.js API routes  
Next.js provides API routes that allow developers to create API endpoints using the Next.js folder structure. We can use API routes to build either a RESTful API, or a GraphQL API. API routes go in the pages/api directory of a Next.JS project.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a77d0f8cf6ad08f0d56894b45bab765a)  
17
5. 5  
[](/posts/what-s-new-in-next-js-12-cc1ca7lre "What's new in Next.js 12")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
5m read time • Dec 21, 2021  
### What's new in Next.js 12  
NextJS 12 includes a number of new features. Some are quiet and largely automatic, but others unlock completely new ways of working. I'll be giving you the highlights of each category, alongside ideas about how to leverage the new features and potential pitfalls. In order of decreasing stability: Stable: Performance improvements; stable: Middleware.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2973b88a2e0c33c244017f5f25f149bb)  
14
6. 6  
[](/posts/web-components-with-svelte-usk5piwx3 "Web Components with Svelte")  
[![thisdot's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6e22565142ee45b386c8bc12bdb3d117)](/sources/[source]/best-of/[year])  
7m read time • Aug 09, 2021  
### Web Components with Svelte  
Svelte is a great framework for building applications, but did you know you can create custom elements and web components with it? In this post, we'll learn how to create a Svelte component, export it as a custom element, and use it. We'll also learn about limitations when doing it.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/90dc6fd8418d8544dc8018359b8f9b04)  
11

[See all This Dot archives](/sources/thisdot/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/thisdot/best-of/2021#page","url":"https://daily.dev/sources/thisdot/best-of/2021","name":"Best This Dot Posts of 2021","description":"The most upvoted This Dot posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/thisdot/best-of/2021#items","numberOfItems":6,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/clean-up-your-code-with-design-patterns-in-javascript-sopfjibx0","name":"Clean Up Your Code With Design Patterns in Javascript"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/javascript-marathon-how-to-write-clean-code-btorpcjl5","name":"JavaScript Marathon: How to Write Clean Code"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/how-to-get-into-rust-as-a-typescript-developer-bwh5uos5h","name":"How to get into Rust as a TypeScript Developer"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/building-full-stack-react-apps-with-next-js-api-routes-7fprjwik0","name":"Building full-stack React apps with Next.js API routes"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/what-s-new-in-next-js-12-cc1ca7lre","name":"What's new in Next.js 12"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/web-components-with-svelte-usk5piwx3","name":"Web Components with Svelte"}]},{"@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":"This Dot","item":"https://daily.dev/sources/thisdot"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/thisdot/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

