sparckles / starfyre

A reactive, WASM based SSR Python Web Framework for Front-End Applications
http://sparckles.cloud/starfyre/
BSD 2-Clause "Simplified" License
511 stars 19 forks source link

Sync the serialization and deserialisation between render and hydration #111

Open sansyrox opened 1 year ago

sansyrox commented 1 year ago

Right now, the signals are maintaining a reverse map, which is a very hacky solution. We need to serialize the tree map on the hydration end and then move to the front.

Maybe we will need the streaming to work for this.

But, for the initial part, we can transfer it across the files.

sansyrox commented 10 months ago

We will be setting a window variable in every web page