mayu-live / framework

Mayu is a live updating server-side component-based VDOM rendering framework written in Ruby
https://mayu.live
GNU Affero General Public License v3.0
130 stars 4 forks source link

Connect earlier #10

Closed aalin closed 1 year ago

aalin commented 1 year ago

Put live.js in <head> with async and let it run immediately.. could maybe connect to /__mayu/session/abc123/events immediately before the entire DOM has been loaded, and resume the session without having to serialize/deserialize it.. might work as long as browsers connect before all HTML has been received

aalin commented 1 year ago

Fixed a while ago