Systems | Development | Analytics | API | Testing

React

How to add realtime updates to your React application

Imagine having to restart WhatsApp whenever you anticipate a new message, or needing to reload the page every time you expect an update on the big game. That would be a terrible user experience! Today, users expect the UI to automatically update the moment information becomes available from the backend, so, of course, we must enable them in our applications. There are a handful of technologies, techniques, and services you can use to implement live updates in React.

How to use WebSockets with React and Node

In this WebSocket tutorial, Alex Booker from Ably (@CodeCast) teaches you how to implement realtime updates in your React applications. Here, we use React on the frontend and Node on the back to build a live cursors feature from scratch, but the fundamental WebSocket lessons can be applied to any manner of realtime application. WebSockets are a bidirectional full-duplex communication protocol used to enable realtime updates such as chat, multiplayer collaboration, notifications, and other live updates in your React applications.

Make your React-based applications collaborative using our new Spaces Hooks and starter kits

We are excited to announce that the Ably Spaces SDK now includes support for React Hooks. This means that developers can integrate collaborative features into their React-based applications in an efficient and idiomatic way. To help you quickly get started we have created a set of React-based starter kits for the four key collaborative features supported within the Spaces SDK - jump to these now!

9 React component libraries for efficient development in 2023

Component libraries are essential tools for efficient React development. They provide a collection of pre-built UI components that can be reused across projects, saving developers time and effort. In this article, we'll explore some of the best React component libraries that can boost your productivity and enhance your user interface. Whether you need a simple button, a complex dashboard, or anything in between, you will find a suitable component library for your React project.

The complete guide to WebSockets with React

On this page you’ll learn more than you ever thought you needed to know about WebSockets with React, including how to build a smooth realtime cursor experience from scratch. We’ll jump into the tutorial, which uses React on the front and Node on the back soon but, first, let’s start with some general guidance when it comes to WebSockets with React.

Build a realtime closed-caption system in React, AssemblyAI and Ably

Closed-captioning for television systems was first demonstrated in the early 1970s. Realtime closed-captioning was developed later in the early 1980s. Here, stenotype operators who type at speeds of over 225 words per minute provide captions for live television programs, allowing the viewer to see the captions within two to three seconds of the words being spoken was developed later in the early 1980s.

How to add realtime notifications to your React app

In today’s digital landscape, where websites deal with realtime data flows, keeping users informed of updates by sending alerts is critical to the user experience. One way of achieving this is in-app notifications. In-app notifications are messages or alerts that appear within a website while it's being accessed in a web browser.

The ultimate guide to React notification libraries

React notification libraries lay the groundwork for most notification systems in React based web applications - streamlining the process for developers to construct and display alerts effectively. There are a number of different React notification libraries available, each with its own unique features. In this article, we'll discuss some of the most popular options, and help you to choose the right one for your needs.

Choosing the right WebSocket library for React projects

As users now expect applications to provide instant updates, live chats, and dynamic content, modern web development requires the ability to deliver realtime experiences and communication between users and servers. WebSocket is a communication protocol that allows full-duplex two-way communication between a client and a server over a single TCP connection. The connection persists unless it is explicitly told to disconnect or in case of network or server failure.

React Hooks now part of Ably's JavaScript SDK

React is one of the most popular JavaScript libraries in the world, and is known for its performance, scalability, and flexibility. Whether it’s single-page apps, high fidelity frontends, or even in some cases static sites, there's a high chance React is being used to build them. Today, we are pleased to announce that we have now baked in support for React Hooks within our Ably JavaScript SDK.