it makes absolutely no sense for JSX to not support async
Discussion
maybe I will end up inventing my own frontend framework, or maybe we will end up implementing our own Nostr Browser in Rust
Hooks are very bad. This is not what I meant. Using hooks basically means the developer gave up on control of their code. A good developer should never use hooks when they have choices.
I guess there is no choice here, or use different language that fits your need 🐶🐾🤷♂️
Actually no, if you look at Bw s code, it’s fully asynchrony without hooks nor setState. It has its own asynchrony architecture and only uses Preact as a thin rendering engine. No RxJS either. And I’m happy about it since it’s the fastest web client yet.
And I will probably get rid of Preact in the future and just use a even faster virtual dom diff implementation or get rid of virtual dom completely.
yea, I am kind of sick of the setState and hooks