4 ms·
I finally figured out how to apply a functional / unidirectional data flow architecture to the (demanding) case of an editor. And yes, there are plans to integr
by marijn 9y ago
I finally figured out how to apply a functional / unidirectional data flow architecture to the (demanding) case of an editor. And yes, there are plans to integrate this into CodeMirror at some point.
- dgreensp 9y agoCan you comment on what you figured out? Was it about making functional/persistent data structures performant enough, or something else?
- marijn 9y agoThat. And also how to deal with the interaction between browser state (around IME and such) and the component state. And how to properly model updates (see thread [1]) in a way that plugins can extend and consume in a modular way. [1]: https://discuss.prosemirror.net/t/discussion-the-limits-of-actions-and-reducers/551 https://discuss.prosemirror.net/t/discussion-the-limits-of-a...