This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation concerning immutable updates (#1884)
Summary: **Summary** Adding some inline examples in the documentation around immutable updates for `EditorState`, `ContentState` and `SelectionState` based on the suggestions of #1445. Let me know if there's more areas in the documentation that could use similar examples or if some editing needs to be done to what I've added. **Test Plan** N/A, but I did view in online markdown editor and it looks ok Pull Request resolved: #1884 Differential Revision: D10188040 fbshipit-source-id: c91d935d3ffdb7aee9ccf826af68c91cf1596a0a
- Loading branch information
1 parent
2ff0c7e
commit c336ae2
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters