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

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

1. 1  
[](/posts/a-modern-approach-to-react-development-aouoowkvv "A Modern Approach to React Development")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
6m read time • Dec 15, 2023  
### A Modern Approach to React Development  
Learn about a modern and efficient solution for React development called Bit. It allows for component isolation, code sharing, specialization, collaboration, and better testability. See how to install Bit in a React project and explore the benefits of using it for React development.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b02c8e9b76ebf129bc9bb818896c3a82?_a=AQAEufR)  
207  
8
2. 2  
[](/posts/15-awesome-css-properties-you-need-to-know--eo4qnpfbj "15 Awesome CSS Properties You Need to Know 🎯")  
[![Ishrat's profile](https://avatars.githubusercontent.com/u/47534248?v=4&s=64)](https://daily.dev/ishratumar)  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
4m read time • Mar 17, 2023  
### 15 Awesome CSS Properties You Need to Know 🎯  
These CSS properties will help any developer build a project quickly and efficiently. I have included the CodePen link at the end of the article, where you can find all these examples in action. You can add the Glass Effect to your next project using a few lines of code. Glass effects are beautiful and add elegance to your design.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1e525b6155c2e676c56170da61d65c5a)  
96  
4
3. 3  
[](/posts/cleaner-code-with-event-delegation-in-javascript-uj8ohczqj "Cleaner Code with Event Delegation in JavaScript")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
3m read time • Mar 13, 2023  
### Cleaner Code with Event Delegation in JavaScript  
Cleaner Code with Event Delegation in JavaScript is a technique that allows you to handle events on multiple child elements with a single event listener attached to the parent element. Using event delegation can lead to more efficient and maintainable code, especially when dealing with a large number of child elements.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d474e25bb632c593a5c09f02428e0bc6)  
84  
6
4. 4  
[](/posts/use-generics-in-typescript-to-improve-your-code-f8hyqogtp "Use Generics in TypeScript to Improve Your Code")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
4m read time • Mar 05, 2023  
### Use Generics in TypeScript to Improve Your Code  
Use Generics in TypeScript to Improve Your Code to Improve your Code to improve your code. Generics are a programming language feature that allows you to create code that can work with multiple types of data. This means that you can write a function or class that can accept any type of data, rather than a single type.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/46530d4ff3caa1060af9e5398faa860d)  
81  
4
5. 5  
[](/posts/stop-using-npm-install-in-your-ci-cd-pipeline-tjerl8uwy "Stop using “npm install” in your CI/CD pipeline")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
4m read time • Nov 01, 2023  
### Stop using “npm install” in your CI/CD pipeline  
This article compares npm install and npm ci commands, explains the options --legacy-peer-deps and --force, and provides a solution to common issues faced by developers. It also emphasizes the importance of using npm ci in CI/CD pipelines for stable builds.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/9497920c748ba69d2fea6bd06be5e9c0?_a=AQAEufR)  
72  
2
6. 6  
[](/posts/3-surprising-async-await-pitfalls-every-web-developer-must-avoid--uiclwnabw "3 Surprising Async/Await Pitfalls Every Web Developer Must Avoid!")  
[![Lakindu Hewawasam's profile](https://media.daily.dev/image/upload/f_auto/v1632670062/avatars/W0Bwxz4ZOzzcEM5UFJ0kk)](https://daily.dev/lakinduhewa)  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
7m read time • Nov 30, 2023  
### 3 Surprising Async/Await Pitfalls Every Web Developer Must Avoid!  
This article explores three common pitfalls that web developers may encounter when using async/await in JavaScript. It discusses the issue of callback hell and provides a solution using async/await. It also highlights the problem of synchronous function chaining and suggests an alternative approach. Lastly, it addresses performance issues that can arise when using synchronous loops and offers a solution utilizing the async map function.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c1fb211e46411763a9068b3114501acf?_a=AQAEufR)  
66  
1
7. 7  
[](/posts/how-to-build-desktop-apps-using-react-a-quick-introduction-to-tauri-f5jpxzf6x "How To Build Desktop Apps Using React: A Quick Introduction to Tauri")  
[![Fernando Doglio's profile](https://lh3.googleusercontent.com/a-/AOh14GjHsDw4rFN2nL_hd2xOYBiV-CoIY2zVUYgMN8Mebw=s100)](https://daily.dev/deleteman)  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
2m read time • Feb 16, 2023  
### How To Build Desktop Apps Using React: A Quick Introduction to Tauri  
Learn how to build desktop apps using React with Tauri, an alternative to Electron. Tauri allows you to use web technologies like JavaScript, HTML, and CSS to create native applications. The tutorial covers setting up a project, building a To-Do app with sentiment analysis, adding native features using Rust, and packaging the app for distribution.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/2867ca965cc1c165b6f8d8326eee2108?_a=AQAEufR)  
65  
2
8. 8  
[](/posts/using-typescript-decorators-in-practise-bimqcqok7 "Using TypeScript Decorators in Practise")  
[![Chameera Dulanga's profile](https://lh3.googleusercontent.com/a-/AOh14Gi1yJOQZI8HoX8CZz48xK24nqxR1yhvrOoCsQmv5w=s100)](https://daily.dev/chameeradulanga)  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
6m read time • Nov 25, 2023  
### Using TypeScript Decorators in Practise  
TypeScript decorators provide a powerful mechanism for enhancing and modifying the behavior of classes and their components. They offer extensive decoration capabilities, legacy support for parameter decoration, and robust type checking. There are five main categories of decorators: class decorators, method decorators, property decorators, accessor decorators, and auto-accessor decorators. Method decorators can be used to log method calls.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a8727b9fe553cb475910a687311bf790?_a=AQAEufR)  
64
9. 9  
[](/posts/building-a-component-library-with-react-and-stylex-ohlhvwgbk "Building a Component Library with React and StyleX")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
5m read time • Dec 24, 2023  
### Building a Component Library with React and StyleX  
Learn how to build a component library with React and StyleX using Bit as a build system. The tutorial covers creating a new Bit workspace, creating components with StyleX, using tokens and themes, pushing components to bit.cloud, and installing components in a project.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/173a473243d581a68b9a319075445aab?_a=AQAEufR)  
45
10. 10  
[](/posts/how-to-build-a-web-api-using-express-js-bun-and-mongodb--7m4l4ojuw "How To Build a Web API using Express.js, Bun and MongoDB?")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
5m read time • Dec 08, 2023  
### How To Build a Web API using Express.js, Bun and MongoDB?  
Learn how to build a high-performing Express.js API backed by MongoDB using Bun. This article provides step-by-step instructions for setting up the application, installing the necessary tools, designing the MongoDB schema, defining business logic in controllers, adding routes, and configuring MongoDB. It also covers adding monitoring to Express.js applications with logging and data validation using express-validator.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a01cfdb41bf592a0bda0d7bc4d7c7492?_a=AQAEufR)  
41
11. 11  
[](/posts/best-practices-in-validating-forms-in-javascript-xbw4sgcal "Best Practices in Validating Forms in JavaScript")  
[![Chameera Dulanga's profile](https://lh3.googleusercontent.com/a-/AOh14Gi1yJOQZI8HoX8CZz48xK24nqxR1yhvrOoCsQmv5w=s100)](https://daily.dev/chameeradulanga)  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
5m read time • Nov 06, 2023  
### Best Practices in Validating Forms in JavaScript  
Ensure data accuracy and security in web forms by following these 8 best practices in JavaScript form validation.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c9d720a5a392c08d3f3625a1600a407f?_a=AQAEufR)  
33
12. 12  
[](/posts/how-i-redesigned-the-backend-to-quickly-handle-millions-of-reads-and-writes--2wggqfygq "How I Redesigned The Backend To Quickly Handle Millions Of Reads (And Writes)")  
[![bit's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)](/sources/[source]/best-of/[year])  
2m read time • Feb 25, 2023  
### How I Redesigned The Backend To Quickly Handle Millions Of Reads (And Writes)  
A backend engineer shares how adopting the CQRS pattern helped improve backend performance by separating write and read operations. The use of a database replica and splitting the service into separate command and query services allowed for better scalability and reduced response time.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/af932fb0ea6937ddd0c2b914f2c60297?_a=AQAEufR)  
32  
2

[See all Bits and Pieces archives](/sources/bit/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/bit/best-of/2023#page","url":"https://daily.dev/sources/bit/best-of/2023","name":"Best Bits and Pieces Posts of 2023","description":"The most upvoted Bits and Pieces posts of 2023, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/bit/best-of/2023#items","numberOfItems":12,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/a-modern-approach-to-react-development-aouoowkvv","name":"A Modern Approach to React Development"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/15-awesome-css-properties-you-need-to-know--eo4qnpfbj","name":"15 Awesome CSS Properties You Need to Know 🎯"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/cleaner-code-with-event-delegation-in-javascript-uj8ohczqj","name":"Cleaner Code with Event Delegation in JavaScript"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/use-generics-in-typescript-to-improve-your-code-f8hyqogtp","name":"Use Generics in TypeScript to Improve Your Code"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/stop-using-npm-install-in-your-ci-cd-pipeline-tjerl8uwy","name":"Stop using “npm install” in your CI/CD pipeline"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/3-surprising-async-await-pitfalls-every-web-developer-must-avoid--uiclwnabw","name":"3 Surprising Async/Await Pitfalls Every Web Developer Must Avoid!"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/how-to-build-desktop-apps-using-react-a-quick-introduction-to-tauri-f5jpxzf6x","name":"How To Build Desktop Apps Using React: A Quick Introduction to Tauri"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/using-typescript-decorators-in-practise-bimqcqok7","name":"Using TypeScript Decorators in Practise"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/building-a-component-library-with-react-and-stylex-ohlhvwgbk","name":"Building a Component Library with React and StyleX"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/how-to-build-a-web-api-using-express-js-bun-and-mongodb--7m4l4ojuw","name":"How To Build a Web API using Express.js, Bun and MongoDB?"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/best-practices-in-validating-forms-in-javascript-xbw4sgcal","name":"Best Practices in Validating Forms in JavaScript"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/how-i-redesigned-the-backend-to-quickly-handle-millions-of-reads-and-writes--2wggqfygq","name":"How I Redesigned The Backend To Quickly Handle Millions Of Reads (And Writes)"}]},{"@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":"Bits and Pieces","item":"https://daily.dev/sources/bit"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/bit/best-of"},{"@type":"ListItem","position":5,"name":"2023"}]}]}
```

