adeelibr / deno-playground

deno playground repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deno Playground

A collection of deno apps to build.

Chapter 1

Chapter 2

Please note in order to understand chapter 2, you need to go through chapter 1.

Troubleshoot

Update for Deno Version 1.37.0

Since the time of writing this tutorial, Deno has seen updates, and some code changes are required to keep it up to date. One such change is related to handling request bodies.

In Deno version 1.0.2, you might have used the following code to handle request bodies:

const body = await request.body();

However, with the current version of Deno (1.37.0), you should use the following code to access the request body:

const body = await request.body().value;

This change ensures compatibility with the latest Deno version and ensures your code continues to work as expected.

Make sure to review your entire codebase for any other breaking changes or updates needed to stay in sync with the latest Deno version. Keep your code and tutorials up to date to provide the best experience for your users

About

deno playground repo


Languages

Language:TypeScript 100.0%