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.