Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
ably-js
Javascript, Node, Typescript, React, React Native client library SDK for Ably realtime messaging service
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Let's explore Ably's new React components by building a simple React app that can send and receive realtime messages and display users' presence status. If you want to jump ahead and grab the code, you can head over to the Github repository.
Start by installing express, the vite-plugin-api package, and the Ably Javascript SDK:
Start by installing express, the vite-plugin-api package, and the Ably Javascript SDK:
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import { pluginAPI } from 'vite-plugin-api' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ react(), pluginAPI({}) ], })
Start by installing express, the vite-plugin-api package, and the Ably Javascript SDK: