Beginning to wonder if there’s a place for compiler heroics in transforming React-style immediate-mode-with-diffing UI code into efficient retained mode code under the hood.
-
-
Fair to say this is what
@sveltejs does? -
I was gonna say that
End of conversation
New conversation -
-
-
I've been very excited about React and wrote a lot of code with it and now I'm back at thinking if there is any other way to make Retained Mode UI code easier to write.
-
(to be clear, React is a diversion from Retained Mode and is closer to Immediate Mode)
End of conversation
New conversation -
-
-
You beat me to it! Svelte has a neat spreadsheet style reactive assignment operator. The tutorial will take you less than 30min to jump through
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think its possible that a cache friendly immidiate ui with diffing can beat retained mode UI, maybe even without diffing (or only caching expensive stuff)
-
Can't do that with javascript of course...
End of conversation
New conversation -
-
-
hmm, I assume we are ruling out React optimizing / caching this at runtime? because it does try to store, skip, and reuse as much as possible as of React Fiber
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.