Bright ideas and techniques for building with Convex.
Profile image
Jamie Turner
7 months 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

Start Building with Convex

Build real-time reactive apps, deploy backends in an instant, scale your data with automatic caching, and much more.

Try Convex free
Watch next