Skip to content

Commit 5f41e0e

Browse files
committed
Cleanup
1 parent 956d443 commit 5f41e0e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ const handleSubmit = (e) => {
150150
</form>;
151151
```
152152
153-
Your explanation about using `isValid` and `isDirty` for conditional rendering in forms is clear and informative. Here's an improved version with some extensions and code refinement:
154-
155-
---
156-
157153
### Using `isValid` and `isDirty` for Conditional Rendering in Forms
158154
159155
In some scenarios, it's useful to conditionally render elements based on the form's validity or whether the form has been interacted with (i.e., is "dirty"). While disabling the submit button for an invalid form is generally not recommended due to accessibility concerns, there are other ways to provide feedback to the user.

0 commit comments

Comments
 (0)