Skip to content

Commit 38659cb

Browse files
committed
add a comment
1 parent 76ba533 commit 38659cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Form.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ function Form(props) {
332332
});
333333
});
334334

335+
// We need to verify that all references and values are still actual.
336+
// We should not store it when e.g. some input has been unmounted
335337
_.each(inputRefs.current, (inputRef, inputID) => {
336338
if (inputRef) {
337339
return;

0 commit comments

Comments
 (0)