Do not use the development http server in a production setting. Use gunicorn or some equivalent.
I had the same issue with incredibly low throughput on beefy machines and it's because the dev server implementation is single threaded and does not do concurrency at all.
This has been a non issue when using proper routing libraries that push history entries on the stack properly and render routes from the top of the component tree down.
You hate BAD react SPAs that break the fundamentals of how the web works. Good ones take care to not do that.
React fundamentally doesn't cause this issue either. You can use a different framework than react or even vanilla JS and still produce the same bugs.
This is such copium for AI haters. I stopped working almost any single line of code at the beginning of this year and I've shipped 3 production projects that would have taken months or years to build by hand in a matter of days.
Except none of them are open source so they don't show up in this article's metrics.
But it's fine. Keep your head in the sand. It doesn't change the once in a lifetime shift we are currently experiencing.
With my kids we did Le Robot from hugging face over the Christmas break, it was a fun project to put together the kit and get the follower arm to follow the leader. You can also train ML models with it etc https://huggingface.co/docs/lerobot/en/so101
Its top 100 or so subreddits are moderated by the same ~10 or so individuals who impose their ideological views on the subs and delete posts or ban anyone who dares challenge them.
A great example of how community moderation inevitably slides a platform to one side or the other of the political spectrum.
I honestly don't think mods on reddit should be allowed to moderate more than 1 or 2 of these top sub-reddits, this would at least force some semblance of diversity of thought on the platform.
I've been thinking about this and using Rust for my next backend. I think we still lack a true "all in one" web "batteries included" framework like Django or RoR for Rust.
Maybe someone should use AI to write the code for that...
I had the same issue with incredibly low throughput on beefy machines and it's because the dev server implementation is single threaded and does not do concurrency at all.
Switch to gunicorn.