Real-world examples of force renders in DraftJS — a.k.a. When/How to use EditorState#forceSelection
EditorState has a static method called forceSelection. It should be used when you want to re-render the editor — with selection and focus — forcefully.
Here is what is said about it in the docs:
📘 forceSelection
static forceSelection(
editorSt...
saiki.hashnode.dev3 min read