Stack logo
Sync up on the latest from Convex.
Jamie Turner's avatar
Jamie Turner
2 years ago

Managing Reactivity with useBufferedState

Reactivity has taken a dominant position today within web app development. Our components and app state are all reactive, and the world has adapted–most would argue, for the better.

But has Convex gone too far? 😉

A new generation of serverless backends like Convex is recklessly spreading reactivity across our databases, server-side functions, and protocols, making global reactivity a new phenomenon. Shared global data is becoming reactive by default. Is this good for the world?

In this video, Jamie Turner explores one circumstance where this pervasive reactivity poses a challenge, and he builds one useful abstraction for taming over-reactivity and turning it back into a strength.

Code: https://github.com/jamwt/convex-buffered-state
Jamie on Twitter: https://twitter.com/jamwt

Technologies used:

React: https://reactjs.org/
Next.js: https://nextjs.org/
TailwindCSS: https://tailwindcss.com/
Convex: https://convex.dev

Build in minutes, scale forever.

Convex is the sync platform with everything you need to build your full-stack project. Cloud functions, a database, file storage, scheduling, search, and realtime updates fit together seamlessly.

Get started