5 ms·
This looks cool! What would be the biggest motivation for using this over something like slateJS?
by MediumD 6y ago
This looks cool! What would be the biggest motivation for using this over something like slateJS?
- holler 6y agoslate.js is react-only iirc, although I believe someone made a draft pr to make it work outside of it.
- pqb 6y agoThere is a fork (rewrite) in the Vue.js [0]. [0]: https://github.com/marsprince/slate-vue https://github.com/marsprince/slate-vue
- deleted 6y ago[deleted]
- kushan2020 6y agoI tried to use slateJS initially, but I found the project to be slow (it was using ImmutableJS back then) and even though it claims it can support collaboration, it doesn't actually support it which is a deal breaker for me.
- pqb 6y agoSlate.js, even after change to Immer is slow. IMHO (as a person who actively observes the development, sometimes participate in their Slack) the "performance" is not taken seriously in this project. In last few months they provided few PRs that improved few cases, while breaking others. I am impressed how many projects are using it [0], because it has problems to handle editing and pasting huge documents. I also see many PRs from community focusing on optimization but they are ignored, stalled or prematurely closed. It also does not handle IME properly, which is a major problem for many languages. However, I see maintainers started to be more active, so all problems I have mentioned might be fixed soon. [0] For example Kitemaker https://blog.kitemaker.co/building-a-rich-text-editor-in-react-with-slatejs https://blog.kitemaker.co/building-a-rich-text-editor-in-rea... (AFAIK they use v0.47). [1] Edit: TinyMCE team is focused to build their editor based on Slate - https://www.tiny.cloud/blog/real-time-collaborative-editing-slate-js/ https://www.tiny.cloud/blog/real-time-collaborative-editing-...