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
After a great conversation with Alexey Romanov, it's become clear that thread-local is never correct. The new architecture should look like this:
Javascript is sent to a Page.
There can be many possible transport mechanisms, with various characteristics.
Page tracks the "currently available" transports (plural) and chooses the most efficient.
Perhaps use scala-query's pattern: pass around implicitly where possible, or provide an opt-in global implicit for thread-local state.
The text was updated successfully, but these errors were encountered: