← All projects

Open Source

solid-socket

Open Source
Author · Oct 2024 – Present

OSS library extending SolidJS reactivity to the server for real-time, WebSocket-backed sync.

WhatAn open source library that brings SolidJS reactive primitives to the server side, letting server state synchronize directly to client components over WebSocket connections — without extra data-fetching boilerplate.
ChallengeMost WebSocket integrations require glue code that breaks the reactive mental model. The goal was to make server-side reactive state feel identical to a local SolidJS signal — no explicit subscriptions, no fetch wrappers, no adapter boilerplate on the consumer side.
ArchitectureBridges SolidJS signals with server-side reactive state via crossws WebSocket adapters. Exposes a component-friendly API so subscriptions look identical to local reactive reads.
OutcomePublished on npm. Referenced as a proof-of-concept for server-side reactivity patterns in the Solid ecosystem and used in community talks on async UI and sync engines.

Highlights

  • Published to npm as a proof-of-concept for server-side reactivity in SolidJS
  • Server signals synchronize to client components with no extra fetch or subscription code
  • Cited in community talks on async UI, sync engines, and the future of server reactivity
  • Built on crossws for WebSocket adapter portability across runtimes

Stack

SolidJSSolidStartWebSocketscrosswsTypeScript
View project ↗← All projects