[Beta] Add missing spaces (#4986)

This commit is contained in:
zqran
2022-09-05 23:16:58 +08:00
committed by GitHub
parent 0df0a05530
commit fc4d44c44c

View File

@@ -64,7 +64,7 @@ label, textarea { margin-bottom: 10px; display: block; }
Here's what happens when you click the button:
1. The `onSubmit` event handler executes.
2. `setIsSent(true)` sets `isSent` to `true`and queues a new render.
2. `setIsSent(true)` sets `isSent` to `true` and queues a new render.
3. React re-renders the component according to the new `isSent` value.
Let's take a closer look at the relationship between state and rendering.