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

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

1. 1  
[](/posts/node-js-19-release-what-s-new-put4szvfb "Node.js 19 Release: What’s New")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
4m read time • Nov 15, 2022  
### Node.js 19 Release: What’s New  
Node.js team recently announced the release of version 19\. This has the following features: (experimental) - KeepAlive by default - Stable WebCrypto - V8 engine updates. In this article, we will explore the major highlights of this release.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f4c16f978729d450c86b00fc56fb7dcf)  
82  
6
2. 2  
[](/posts/patterns-and-anti-patterns-in-node-js-l6huh5lvs "Patterns and Anti-patterns in Node.js")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
3m read time • Feb 23, 2022  
### Patterns and Anti-patterns in Node.js  
There are two ways to declare variables in JavaScript: var and let. var declares a function-scoped variable (when declared within a function) Let and const declare block- scoped variables. With let and const, you won't be able to use a variable that has not been declared.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/15c1798cc90c6faad27fbcd349d90877)  
58  
1
3. 3  
[](/posts/how-to-handle-errors-in-react-dgotxdkko "How to Handle Errors in React")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
7m read time • Jun 15, 2022  
### How to Handle Errors in React  
In React 16, a new concept got introduced — React Error Boundaries. Error boundaries are React components that catch JavaScript errors anywhere in their child component tree. Then, they log those caught errors and display a fallback UI instead of the component tree that crashed. We'll go through different ways to handle errors in React applications.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6798f8237f6bc7f13dae86657d94d981)  
57  
2
4. 4  
[](/posts/build-a-crud-app-with-node-js-and-mongodb-ddtpjavap "Build a CRUD App with Node.js and MongoDB")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
8m read time • Aug 17, 2022  
### Build a CRUD App with Node.js and MongoDB  
MongoDB is an open-source, cross-platform, document-oriented database program. MongoDB’s horizontal, scale-out architecture can support huge volumes of both data and traffic. The application will connect to a MongoDB database and allow users to create, read, update, and delete blog posts. Make a services/BlogService.js file in your project root directory and add the code snippet below.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/64081047ddd6c4874b3b54a67e18d3e5)  
56  
1
5. 5  
[](/posts/node-js-18-release-what-s-new-sclnbvx0d "Node.js 18 Release: What's New")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
6m read time • Apr 26, 2022  
### Node.js 18 Release: What's New  
Node.js 18 has some significant new features that Node developers should be aware of. The upgrade of the V8 engine to version 10.1 and experimental support for browser APIs like fetch and Streams are among the highlights. The built-in test runner supports subtests, test skipping, limited test runs, and callback tests.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b4c5ad0772836912a5a6cf0a19e41f04)  
56  
3
6. 6  
[](/posts/how-to-handle-async-code-in-javascript-akcdscj7n "How to Handle Async Code in JavaScript")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
10m read time • Nov 09, 2022  
### How to Handle Async Code in JavaScript  
The easiest way to understand asynchronous code is to realize that the code does not execute sequentially. This can be difficult to comprehend in JavaScript, especially if you come from a programming language that's synchronous or sequential by default, like PHP. In the next section, we will learn about callbacks with asynchronous JavaScript using a fun Github. Here's the output of the above code execution.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/056de6567e6755a952e101b6e930caf2)  
53  
1
7. 7  
[](/posts/minimize-heap-allocations-in-node-js-a-unr8-5m "Minimize Heap Allocations in Node.js")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
13m read time • Sep 28, 2022  
### Minimize Heap Allocations in Node.js  
The Heap Memory allocation is only possible with primitive variables. Memory stored in the heap will live on unless it is explicitly deleted or deallocated. The heap is a large chunk of contiguous memory blocks and is expected to remain so even after allocation and deallocation. If a sufficient chunk is not found, the program will request an increase in heap space.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d503cb4bbbdcd42d5860d0e829dd44f7)  
25  
1
8. 8  
[](/posts/node-js-architecture-pitfalls-to-avoid-kc0jatart "Node.js Architecture Pitfalls to Avoid")  
[![appsignal's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/60b55a8dfc5448bd9daad08aea11a7a3)](/sources/[source]/best-of/[year])  
14m read time • Nov 23, 2022  
### Node.js Architecture Pitfalls to Avoid  
Node.js Architecture Pitfalls to avoid JavaScript and TypeScript pitfalls to avoid when building your code. Some of the problems (like dependency management) require more attention in node.js projects than in other languages. There are some more nuanced benefits to eschewing globals in favor of arguments.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/35f2199f01773f39002e349b4366a6e2)  
19

[See all AppSignal archives](/sources/appsignal/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/appsignal/best-of/2022#page","url":"https://daily.dev/sources/appsignal/best-of/2022","name":"Best AppSignal Posts of 2022","description":"The most upvoted AppSignal posts of 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/appsignal/best-of/2022#items","numberOfItems":8,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/node-js-19-release-what-s-new-put4szvfb","name":"Node.js 19 Release: What’s New"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/patterns-and-anti-patterns-in-node-js-l6huh5lvs","name":"Patterns and Anti-patterns in Node.js"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/how-to-handle-errors-in-react-dgotxdkko","name":"How to Handle Errors in React"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/build-a-crud-app-with-node-js-and-mongodb-ddtpjavap","name":"Build a CRUD App with Node.js and MongoDB"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/node-js-18-release-what-s-new-sclnbvx0d","name":"Node.js 18 Release: What's New"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/how-to-handle-async-code-in-javascript-akcdscj7n","name":"How to Handle Async Code in JavaScript"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/minimize-heap-allocations-in-node-js-a-unr8-5m","name":"Minimize Heap Allocations in Node.js"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/node-js-architecture-pitfalls-to-avoid-kc0jatart","name":"Node.js Architecture Pitfalls to Avoid"}]},{"@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":"AppSignal","item":"https://daily.dev/sources/appsignal"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/appsignal/best-of"},{"@type":"ListItem","position":5,"name":"2022"}]}]}
```

