At the time of this writing, I'm currently working to get Laravel Mix v6 finished and out the door. Come along as I refactor one of Mix's internal components that is currently a big mess. I'll show you how to apply a series of small refactors in the hopes that they will add up to a much cleaner class.
A useful technique when refactoring code is to focus on confusing conditionals, long lines, and the "Flying V". In this episode, we'll review each of these as we spike out a fun, small example from scratch, and then proceed to refactor it line by line.
*Series still in development. Check back often for updates.