Omran Jamal

Omran Jamal

Obsessed with real-time.
14 points

Forums

Omran Jamal

8mo ago

RoastMyStartup: useSharedState - It's like useState but the state syncs across clients in real-time

I'm calling it AirState (https://airstate.dev). We're making a set of primitives and react hooks that help you build real-time applications in like 2 lines of change. Our first product is called SharedState, you can use it via the useSharedState hook in React.

It behaves exactly how to expect it to behave. It's a drop-in replacement for useState but it syncs across clients and computers in real-time. By default it connects to our cloud that has a free-tier but we'll also open source the server so that people can self-host it. Kinda following in the footsteps of PostHog.

Shawn Myers

3yr ago

What's an underrated tech product you love?

I'll go first: I'm a big fan of my Click and Grow smart planter at the moment. WBU?
Omran Jamal

3mo ago

AirState — useSharedState - React's useState but it syncs across clients in real-time.

The simplest yet powerful primitive to build and ship real-time features in your web apps. useSharedState is a drop-in replacement for React's useState hook but it syncs the state across clients instantly whenever the state is updated. (btw, it's opensource)