Client-side web development with frameworks like React, Angular, and Vue have become incredibly popular. At the same time, GraphQL has emerged as an alternative to REST for building robust, efficient APIs. However, using GraphQL APIs from client-side ... more
If you Googled "phone number regex" and regretted it you're in the right place. This post will walk through how to use two free tools to check a phone number's validity using HTML and JavaScript. ... more
ECMAScript 2024, a planned update to ECMA’s standard for JavaScript, is set to include seven new features ranging from array grouping to Unicode strings. The 2024 specification, from ECMA’s Technical Committee 39, is expected to be approved in June. ... more
Modals have been an important part of websites for two decades. Stacking contents and using fetch to accomplish tasks are a great way to improve UX on both desktop and mobile. Unfortunately most developers don’t know that the HTML and JavaScript specs ... more
The use case is as follows: You have some tasks you want to execute concurrently, but you want the results to be returned in the same order the tasks were defined to be executed. As an example, let's say you have some records returned from the database, ... more
Safari Technology Preview Release 192 is now available for download for macOS Sonoma and macOS Ventura. If you already have Safari Technology Preview installed, you can update it in System Settings under General → Software Update. This release includes ... more
Safari Technology Preview Release 192 is now available for download for macOS Sonoma and macOS Ventura. If you already have Safari Technology Preview installed, you can update it in System Settings under General → Software Update. This release includes ... more
The introduction of Speedometer 3.0 is a major step forward in making the web faster for all, and allowing Web developers to make websites and web apps that were not previously possible. In this article, we explore ways the WebKit team made performance ... more
The introduction of Speedometer 3.0 is a major step forward in making the web faster for all, and allowing Web developers to make websites and web apps that were not previously possible. In this article, we explore ways the WebKit team made performance ... more
In the first half of this article, we set up a web development stack and created a simple example application using Bun, HTMX, Elysia, and MongoDB. Here, we'll continue exploring our new stack while cleaning up and abstracting the example application's ... more
Many businesses use LinkedIn for prospecting and outreach because of the massive amounts of B2B data available on it, but it can be rather challenging and expensive. On one hand, LinkedIn's native solutions like InMail messages are designed to keep you ... more
In today’s digital age, cross-border data transfer plays a crucial role in the growth of multinational companies. China has recently enhanced its approach to data governance with the introduction of laws such as “the Cybersecurity Law,” ”the Data Security ... more
Developer Week 2024 has officially come to a close. Each day last week, we shipped new products and functionality geared towards giving developers the components they need to build full-stack applications on Cloudflare. Even though Developer Week is ... more
This tutorial is designed to show you how to update AG Charts in real-time (every 10ms ) as well as in response to user interaction. By the end of the tutorial, you'll have a chart that looks like this: This tutorial is focused on React , but we have ... more
How does useOptimistic() work internally in React? 44 minutes by Robin Wieruch Optimistic UI is a common trick in UI development to improve the perceived performance. useOptimistic() is a hook to help build it. Let’s figure out how it work internally. ... more
Three Word Stories lets two or more people take turns to write a story, and then it reads the story aloud. We built this simple app over about 48 hours as a part of our annual hackathon tradition, called Pointless Palooza. It’s not easy to conceive, ... more
Today, we’re thrilled to announce that Cloudflare has acquired Baselime. The cloud is changing. Just a few years ago, serverless functions were revolutionary. Today, entire applications are built on serverless architectures, from compute to databases, ... more
This post is also available in Español. Browser Rendering API is now available to all paid Workers customers with improved session management In May 2023, we announced the open beta program for the Browser Rendering API. Browser Rendering allows developers ... more
Hello web developers! Last year we released a slew of improvements that made deploying web applications on Cloudflare much easier, and in response we’ve seen a large growth of Astro, Next.js, Nuxt, Qwik, Remix, SolidStart, SvelteKit, and other web apps ... more
Cloudflare Workers now features a built-in RPC (Remote Procedure Call) system enabling seamless Worker-to-Worker and Worker-to-Durable Object communication, with almost no boilerplate. You just define a class: export class MyService extends WorkerEntrypoint ... more
Hi there, friend! It's an anniversary edition of the Js-Craft newsletter. The 50'th edition 🎂🎉! Just checked the newsletter archive and saw that the first newsletter was sent on May 02, 2018. Almost 6 years ago 🙂 In this edition of the newsletter: ... more
JetBrains is add full-line code autocompletion to its family of IDEs (integrated development environments), powered by locally run AI models. Full line code complеtion is available for Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby ... more
This post is also available in 简体中文, 繁體中文, 日本語, 한국어, Deutsch and Español. 2024’s Developer Week is all about production readiness. On Monday. April 1, we announced that D1, Queues, Hyperdrive, and Workers Analytics Engine are ready for production scale ... more
Pages launched in 2021 with the goal of empowering developers to go seamlessly from idea to production. With built-in CI/CD, Preview Deployments, integration with GitHub and GitLab, and support for all the most popular JavaScript frameworks, Pages lets ... more