Posted by david on 10 December 2017 at 3:09 am

Vue.js continues to impress me. For the new version of Clay I removed jQuery and replaced it with Vue. It was scary at first, but it is amazing how compact the JavaScript in Clay has become. The script for the dashboard is a single Vue instance with just a few methods, but it can do ajax submits, toggle edit/save buttons, and add input fields dynamically. The awesome part is the same script works with every app on the dashboard, without a lot of confusing variables to try to decipher. I'm sure it helps that I've gotten better at JavaScript, but Vue makes it really easy to do what used to be complicated tasks. I'm liking it. Next on my list is to add previews when adding items...but I'm not scared anymore.


Log in to comment

No comments yet!