Preact: modifying shared Y.Array doesn't re-render anything

@bespinas bespinas
Wed, 17 Sep 2025 19:48:13 +0000

Hello!

I’m making a WebXDC app with preact (a React alternative) and WebxdcProvider.

My intention is to have a shared Y.Array and have preact re-render things when it’s modified, but nothing gets re-rendered.

I’ve created a minimal example to reproduce what I’m doing in my app in this project: UUID Manager.

There’s an app that has a shared Y.Map and it works fine: Split Bill. What’s the actual difference? I’ve looked at it for days.

Apologies if this is a preact issue. They don’t seem to have a forum.