درس قبلی
A New Reply Component

A New Reply Component

A New Reply Component

قسمت 37
درس بعدی

درباره این درس

Now that we're thinking in terms of Vue collections, we can easily turn the form for publishing a new reply into its own component. This way, when the user submits the form, we can simply perform an AJAX call to persist the data, and then push to the "replies" collection - which will, in response, automatically trigger a re-render. View the source code for this episode on GitHub.
دیدگاه های کاربران

× در حال پاسخ به: