The VirtualDom is not Send which makes it challenging to hold across await points in web frameworks for liveview or SSR.
Either we need to develop our own web framework (with the same level of ergonomics of Diouxs) or somehow get the VirtualDom threadsafe to Send across threads.
This is too hard. The best you can do is use a ThreadPool and communicate with a running instance from there. And, in reality, it's not bad. We should definitely provide a pool for this as a first-party crate.
The VirtualDom is not
Send
which makes it challenging to hold across await points in web frameworks for liveview or SSR.Either we need to develop our own web framework (with the same level of ergonomics of Diouxs) or somehow get the VirtualDom threadsafe to
Send
across threads.