@sophiebits @dan_abramov @sebmarkbage Curious: has anyone yet used Hooks to build a state-preserving live editing tool? Reloads are so awful—I'm still hoping for DisplayScript's glorious ability to update the running program on every editor keypress without losing state. :)
-
-
Regarding order/type changes: what if the tool embedded a flow server? Would be enough for types but not order. For that you’d want an incremental AST diff—paging
@rob_rix -
Yeah, if you can know which node the keypress is going into you can do a much better job much faster than ex post facto diff reconstruction. tbh tho this is still going to be hard because so many keypresses yield inconsistent states, so maybe you want structural editing?
- 2 more replies
New conversation -
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.