Keep it Clean!

Recently I was working on a SPA – a Single Page App – using jQuery, knockout and Sammy. I was impressed how easy it was to snap JavaScript libraries together (like Lego blocks) using NuGet. Need to handle dates? Pull down Moment.js. Need some attractive alerts? Pull down toastr.js.

John Papa is a SPA evangelist and helpfully lists a tribe of JavaScript libraries that work well together.

A word of advice: I was making changes, but not seeing them when debugging. An IIS Reset didn’t seem to help. The answer? Clean Solution! That’s my essential tip for working with SPAs in Visual Studio 2013.

Comments