Published On May. 11th 2017
Episode 37 • Run Time 11:44
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.