You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
Hey, as we were discussing that yesterday. we got an idea is that the client sends a stream of events to the Dart and from there these events should derive the UI state and update them as we receive them.
The problem is how we could encode different events on the same stream, for my demo I went with JSON as it is universal between languages, but JSON is not strongly-typed and has a lot of overhead, so maybe we could use something like protocol buffers so we get both a unified schema (contract) between Dart and Rust, also we get code generator for both languages for free.
In Rust, we will use prost and for Dart, we will use the official google package that gets auto-generated for us see here.
The current state management was built for a cli not a ui
The text was updated successfully, but these errors were encountered: