News for hackers. Stuff that matters.
Re:Why Nextcloud feels slow to use by nullgeo on Monday November 03, 2025 @10:19AM (#45800003)
What is React runtime? I looked it up and the closest thing I came across is the newly announced React compiler. I have a vested interest in this because currently working on a micro-SaaS that uses React heavily and still suffering bundle bloat even after performing all the usual optimizations.
Re:Why Nextcloud feels slow to use by adzm on Monday November 03, 2025 @11:47AM (#45801130)
React compiler is awesome for minimizing unnecessary renders but doesn't help with bundle size; might even make it worse. But in my experience it really helps with runtime performance if your code was not already highly optimized.
Re:Why Nextcloud feels slow to use by bastawhiz on Monday November 03, 2025 @10:37AM (#45800210)
When you compile JSX to JavaScript, it produces a series of function calls representing the structure of the JSX. In a recent major version, React added a new set of functions which are more efficient at both runtime and during transport, and don't require an explicit import (which helps cut down on unnecessary dependencies).
Re:Why Nextcloud feels slow to use by silverwind on Monday November 03, 2025 @06:49PM (#45805899)
You mean the automatic runtime introduced in 2020. It does not have any impact on the performance, it's just a pure developer UX improvement.
Re:Why Nextcloud feels slow to use by bastawhiz on Monday November 03, 2025 @10:34PM (#45807190)
It improves the bundle size for most apps because the imported functions can be minified better. Depending on your bundler, it can avoid function calls at runtime.