We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e1db4 commit c03c77aCopy full SHA for c03c77a
src/components/patterns/HookReducer/Page.jsx
@@ -92,14 +92,16 @@ const Page = () => (
92
<p>
93
By default we are displaying the error message to the user even if the
94
user did not use the form. That's not a great user experience. To improve
95
- that we are going to add another state in our form to identify which
96
- fields are `dirty`.
+ that we are going to add two more states in our form to identify which
+ fields are `dirty` and if the form is `submitted`.
97
</p>
98
99
A field is dirty when the value of the field is not equal to the initial
100
value, false if the values are equal.
101
102
103
+ <p>A field is submitted if the form is submitted :D</p>
104
+
105
<h3>Bonus exercise part 1</h3>
106
107
We are going to add some state to our form to know when the form is being
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments