Let's take one more episode to refactor our code and address some community questions from the previous episode. Specifically, we'll update the
Form class to return a
Promise when submitted, we'll create a few AJAX helper methods, and, lastly, we'll refactor two methods to improve clarity. Ready?
Published on Dec 28th, 2016.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.