Re:Show HN: Edtr.io – Intuitive web editor, open source and ...
by ergo14 on Saturday February 29, 2020 @06:05PM
(#22453848)
Yeah, but it only makes sense to do so on a page that already is using react. If you are using some other JS framework it will add 140kb dep on react+react-dom - which might be a problem (or not depending on your use case).
[ Parent
| on HN ]
Re:Show HN: Edtr.io – Intuitive web editor, open source and ...
by inyono on Saturday February 29, 2020 @07:02PM
(#22454141)
Definitely a good point. Just wanted to note that you could write a renderer in some server language that outputs static HTML. And only use the editor to make that static content editable (loaded asynchronously or on a different route). The serialized state is easy to parse by design.