1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 22:21:20 +02:00

add guard checks for value and editor in <Slate /> (#3326)

* add guard checks for value and editor in <Slate />

* adding tiny-invariant to slate-react; refactoring errors

* import Editor for guard check

* Create fuzzy-yaks-drive.md

Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
Samu
2021-03-31 22:13:28 +02:00
committed by GitHub
parent 12988060ff
commit d5b2d7f55e
3 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Added invariants when passing invalud `value` or `editor` props to `<Editable>`.