Commit 61a8b62
Mention getSnapshotBeforeUpdate should return. (reactjs#930)
If getSnapshotBeforeUpdate does not return a snapshot value or null
it will cause a warning. Document that it should return this value.1 parent 24f0448 commit 61a8b62
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
0 commit comments