/plushcap/analysis/agora/agora-using-the-agora-web-uikit-with-next-js-build-a-video-chat-app

Using the Agora Web UIKit with Next.js — Build a Video Chat App

What's this blog post about?

In this blog post, the author describes how to use the Agora Web UIKit with a Next.js web app, overcoming the issue of server-side rendering and static-site generation causing errors when importing the Agora SDK. The solution involves using dynamic import to load the Agora library only when the page is rendered in the browser, utilizing Next.js's no-SSR feature. This allows the author to successfully integrate video calling capabilities into their Next.js app.

Company
Agora

Date published
Oct. 18, 2022

Author(s)
Ekaansh Arora

Word count
413

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.