Aurora Scharff
Building Interactive Async UI with React 19 and Ariakit
#1about 1 minute
Challenges of building custom interactive UI components
Three common problems are outlined: building custom UI from scratch, ensuring accessibility without being an expert, and handling async operations smoothly.
#2about 1 minute
Solving UI challenges with a modern tech stack
The solution involves using Tailwind CSS for styling, Ariakit for accessible component primitives, and React 19 features for managing asynchronous operations.
#3about 4 minutes
Analyzing the initial flawed component and its code
A demonstration and code walkthrough reveal a custom dropdown with accessibility issues, complex state management, and out-of-sync pending states.
#4about 7 minutes
Refactoring the UI with Ariakit for accessibility
The component is refactored by replacing standard divs with Ariakit's `Select` primitives, which automatically handle state, keyboard navigation, and ARIA attributes.
#5about 2 minutes
Managing async state with React 19 hooks
The component's asynchronous logic is improved by replacing manual pending states with `useTransition` and `useOptimistic` for smooth, instant UI feedback and automatic rollbacks.
#6about 4 minutes
Simplifying data updates with server functions
The traditional API layer is removed and replaced with React Server Functions, enabling direct, type-safe server calls from the client component.
#7about 2 minutes
Demonstrating the final interactive and accessible component
The final result is a fully interactive, accessible, and user-friendly dropdown component with smooth pending states and optimistic updates, built with minimal boilerplate.
#8about 3 minutes
Summary of benefits from Ariakit and React 19
A recap of how Ariakit provides accessibility and clean code, while React 19 streamlines server communication and simplifies loading states for a better user experience.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
28:43 MIN
Summary of key principles for accessible React apps
Accessibility in React Application
09:19 MIN
Using ARIA attributes to make web components accessible
Accessibility with Web Components
15:23 MIN
Implementing effective focus management strategies in React
Accessibility in React Application
01:03 MIN
Common accessibility challenges in React SPAs
Accessibility in React Application
03:03 MIN
Building with familiar React APIs and real CSS
Lynx: Native for More
23:49 MIN
Integrating UI components and choosing a rendering mode
One Framework To Rule Them All: Faster Websites With Astro
27:46 MIN
Combining micro frontends with an islands architecture
Multiple Ships to the Island - Micro Frontends & Island Architectures
27:03 MIN
A detailed breakdown of modern web frameworks
Web development best practices in 2021
Featured Partners
Related Videos
Accessibility in React Application
Julia Undeutsch
What’s New and What’s Next in Web UI
Cleyra Uzcategui
From Zero to Hero: NextJS 13 and Tailwind CSS for Beginners
Marius Obert
Accessibility with Web Components
Manuel Mauky
Beyond Warp Speed: Crafting the Future of Web Development with Astro 4.10
Francesco Napoletano
Challenges of building React and React Native apps
Milica Aleksic & Stefan Nikolic
ARIA: the good parts
Hidde de Vries
GraphQL + Apollo + Next.js: A Lovely Trio
Josh Goldberg
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Front End Engineer TypeScript React Native AI
Client Server
Charing Cross, United Kingdom
Remote
£80K
CSS
React
JavaScript
+5


Frontend Web Developer - JavaScript | React | Angular | Vue.js | Bootstrap | Tailwind | HTML | CSS
Tech Solutions Gmbh
Berlin, Germany
API
CSS
GIT
HTML
Scrum
+5


Frontend Web Developer - JavaScript | React | Angular | Vue.js | Bootstrap | Tailwind | HTML | CSS
Tech Solutions Gmbh
Brandenburg an der Havel, Germany
API
CSS
GIT
HTML
Scrum
+5

Frontend Web Developer - JavaScript | React | Angular | Vue.js | Bootstrap | Tailwind | HTML | CSS
Tech Solutions Gmbh
Bremen, Germany
API
CSS
GIT
HTML
Scrum
+5

Frontend Web Developer - JavaScript | React | Angular | Vue.js | Bootstrap | Tailwind | HTML | CSS
Tech Solutions Gmbh
Illingen, Germany
API
CSS
GIT
HTML
Scrum
+5
