Re:Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
by nicoburns on Wednesday March 01, 2023 @03:44PM
(#34988065)
Even React, despite being much slower than SolidJS, etc is rarely the bottleneck. Slow JS apps tend to be doing stupid things like blocking UI updates on network requests or updating state in such a way that triggers repeated re-renders when only one is required.
[ Parent
| on HN ]
Re:Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
by explaininjs on Wednesday March 01, 2023 @04:47PM
(#34988803)
> updating state in such a way that triggers repeated re-renders when only one is required
OTOH I read that and say it's precisely a React issue/bottleneck :)
Re:Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
by nicoburns on Thursday March 02, 2023 @06:31AM
(#34994536)
I mean, I think that's kind of fair. It is an issue with React that this can happen. On the other hand, it's pretty much always possible to work around it within React without switching to another framework. So IMO if a team is shipping a React app with performance issues then that's on them.