Comments by "" (@diadetediotedio6918) on "Why is every React site so slow?" video.
-
3
-
1
-
1
-
1
-
Immediate mode UIs are generally extremely simple in terms of layouting and style, this is the part of the picture you are missing. Rendering the DOM is slow because:
(1) We use JS to do it
(2) It is retained mode, so all the changes are cached and rendered the minimum as possible
(3) The layouting and styling system of modern HTML + CSS is [extremely complex], it allows you to do a huge amount of positioning, calculations, transformations, event based styles, very compound and complicated responsive layouts, animations, etc... all of those things take time, and they are pretty slow to work
It is a different beast altogether.
1
-
1
-
1