WeAreDevelopers LIVE Mar 24, 2021

Build UIs that learn - Discover the powerful combination of UI and AI

Eliran Natan

What if your UI could predict a user's next click? Discover how to eliminate latency by combining React and TensorFlow.js for intelligent predictive prefetching.

Pause
Mute Enter Fullscreen
#1 about 2 min

The problem of loading delays in single-page applications

Heavy React components increase load times even when utilizing standard lazy loading APIs.

#2 about 2 min

Breaking the loading trade-off with predictive prefetching

Prefetching entire routes or components before a user clicks entirely removes waiting time.

#3 about 3 min

Using sequence prediction to guess the next user action

Tracking ordered click sequences enables training an intelligent mechanism to forecast probability distributions for upcoming actions.

#4 about 3 min

Designing a neural network for click sequence prediction

Function approximators with one-hot encoding and long short-term memory layers output accurate probabilities for the next action.

#5 about 3 min

Implementing and training the prediction model in TensorFlow.js

The TensorFlow.js library provides commands to stack network layers, request predictions, and asynchronously fit models to sequence batches in the browser.

#6 about 7 min

Linking UI predictions to code prefetching with React context

Connecting decentralized prediction triggers with rendering components via an application-wide context coordinates seamless dynamic code imports.

#7 about 4 min

Combining React code splitting APIs with machine learning models

Merging predictive machine learning functionality with decentralized frontend state contexts drastically improves application performance through anticipatory rendering.

Matching moments

57 sec

Implementing predictive prefetch with machine learning

Jessica Janiuk · JS Congress

1:10 min

Balancing prediction accuracy with background loading eagerness

Medhat Dawoud Medhat Dawoud · WWC 2025

4:05 min

Navigating cross-browser progressive enhancement for machine learning

Thomas Steiner · Coffee With Developers

5:36 min

Evaluating page performance using customized ML prediction models

Perf + AI

3:31 min

Recreating React components using AI and dev tools

Chris Heilmann +2 · LIVE

4:30 min

Scaffolding pages and routing single-page applications with Next.js

Josh Goldberg · JS Congress

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Beyond Vibe Coding: An AI Builder’s Guide to Migrating 10k+ React Components

Shubham Chaurasia

Senior Software Engineer @ Meta

Shubham Chaurasia
Open session

World Congress 2026 North America

Small LLM in your Browser: Huge Opportunities for Web Applications

Daniel Ostrovsky

UI/UX Architect at Payoneer | AI Architect | Full Cycle Development Expert | Public Speaker | Open Source Contributor |

Daniel Ostrovsky
Open session

World Congress 2026 North America

How to generate business value through performance optimizations

Nikolai Sidiropulo

Software Engineer at Meta

Nikolai Sidiropulo
Open session

World Congress 2026 North America

Proactive AI That Doesn’t Annoy Users: Building Context-Aware Notification Systems

Raju Dandigam Dandigam

Engineering Manager at Navan

Raju Dandigam Dandigam
Open session

World Congress 2026 North America

AI Agents are Only as Smart as their Context: Building a Real-Time Context Engine at Intuit

Bharat Patel

Lead Software Engineer at Intuit

Bharat Patel
Open session

World Congress 2026 North America

Engineering the Pivot: How Creative Strategy Solves the Hard Problems of AI Accuracy and Scale

Shruti Tiwari

AI/ML product manager, Dell

Shruti Tiwari