This would improve in-browser performance in multiple ways:
- Multiple pages can connect to single websocket connection via shared worker (not compatible with mobile chrome)
- All the RPC connection logic can run independently of browser window
- We can cache whole sdk state in separate thread with all the computations and not block frontend
- We will need to solve potentially running different environments (testnets) or connection to different chains at the same time
This would improve in-browser performance in multiple ways: