Reading engine data synchronously
The engine answers within a few milliseconds in the same app, but screens waited for it asynchronously. We make these reads synchronous.
Every time a screen read a value from the engine, it waited asynchronously. While it waited, a Suspense boundary showed a different screen, and there was a transition that hid the moment that screen changed. The mechanisms that made the waiting screen look smoother kept multiplying. But we never asked why we had to wait.
The cost grew as screens got deeper. When reads nested seven levels, the screen was drawn seven times. On Android, building screens we'd end up discarding ahead of time sometimes used up a whole frame of a 120 Hz display. Hiding a mechanism built to hide waiting behind yet another one doesn't stop the same screen from being drawn many times.
At first we changed how long to hold the data. On October 16 we made the data stay only while the screen was visible, but we reverted it the same day. The reason isn't recorded. Today we first made the screen keep the same read from its first read until it's no longer used. But this too kept the waiting structure and only reduced the cost.
Change the question and the answer gets simple. If the engine is already inside the app and answers in a few milliseconds, reads can be synchronous too. We make reads synchronous and delete the Suspense boundaries built for waiting, along with the transitions that hid them.
Of course, the fact that we made them synchronous doesn't by itself let us say it got faster. We'd have to compare frame times before and after. What we can say for certain now is that we removed waiting where there was no reason to wait.
Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.
