Re:The complexity that lives in the GUI
by millstone on Sunday February 14, 2021 @02:22PM
(#26135315)
How does this work with e.g. a text editor? It doesn't seem practical to have your UI be a pure function of an input which is 100+ MBs of text and formatting.
[ Parent
| on HN ]
Re:The complexity that lives in the GUI
by jonathanaird on Thursday February 18, 2021 @07:37AM
(#26179106)
Both Flutter and React will take the next UI frame and figure out what the diff is between the last frame and the next and only apply the difference. In React it’s called the shadow dom. Flutter will also only render what it needs to so you shouldn’t render the entire file at once. Just render what’s on screen and lazy load as you’re scrolling.