Skip to content

Commit 8a5cb19

Browse files
committed
text change
1 parent 1fe95d3 commit 8a5cb19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/getting-started/quick-start.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,11 @@ end
382382

383383
* [x] Navigate to `localhost:3000/posts`
384384

385-
You should see a basic index page with a form on top. When submitting the form without any values, ActiveRecord errors should appear below the inputs without browser page reload. When submitting valid data, the form should reset automatically without browser page reload, but you would have to reload the browser in order to see the new post! That's why we need to add the `async` component.
385+
You should see a basic index page with a form at the top. When submitting the form without any values, ActiveRecord errors should appear below the input fields without a browser page reload. When submitting valid data, the form should reset automatically without a browser page reload, but you will still have to reload the browser in order to see the new post!
386386

387-
## Add Matestack's async component
387+
To get that reactivity to work, we need to add the `async` component.
388+
389+
## Add Matestack's Async Component
388390

389391
* [x] Add `success: { emit: "submitted" }` to the form config
390392
* [x] Wrap the `post_list_partial` with an `async`, configured to rerender when the event `submitted` is received

0 commit comments

Comments
 (0)