Andrew Connell

Welcome to my blog. You don’t need to bookmark this page as my blog content is surfaced throughout my site. This page serves as the homepage for my blog which you can use to get the RSS feed (found at http://feeds.andrewconnell.com/AndrewConnell).

Microsoft MVP Logo

Jest Preset Update October 2019

Tuesday, October 8, 2019 8:30 AM

Late last year I published a few Jest presets to simplify adding automated testing to your SharePoint Framework (SPFx) projects. These are complete with example tests including testing the rendering of components, testing async functions using promises or callbacks and even simulating user events. You can learn more about the presets in the original post, Enable Jest testing of SharePoint Framework Projects in One Simple Step. In this post, I want to share some updates to the presets that have been published.

Read More

Dealing with Undefined 'this' in React Event Handlers in a Performant Way

Thursday, October 3, 2019 9:30 AM

When I’m teaching React to developers, one thing that comes up often is dealing with a common error. But here’s the interesting thing: it’s not running into the error that comes up all the time, its how to deal with it that surprises them. I’ve always wanted to have something to point to that the scenario & why one option is better than others, even though there are plenty of ways to address the issue. That’s what this post is!

Read More

SharePoint Framework Summer 2019 Wish List

Wednesday, September 4, 2019 9:17 AM

I originally intended to write this post a mid-summer, but just never happened. Thankfully my wish list hasn’t changed for the SharePoint Framework (SFPx) since the spring of this year… wait, maybe that isn’t a good thing? Please don’t take these as complaints about the SharePoint Framework, the people who work on it and support it, or Microsoft as a whole. I’m a fan of the SharePoint Framework. I love how it is helping to bring traditional server-side SharePoint developers along to the modern world of web development and client-side customizations. So many parts of the toolchain and skills they are learning by working with SPFx are immediately transferrable to non-SharePoint projects. As you read through my list, you may notice a theme: time for some maturity. The SharePoint Framework has been available since early 2017 and every few weeks, we see Microsoft share graphs of constant growth in adoption during the community calls). With some strong momentum, personally I’d like to see Microsoft slow things down, hold a bug bash & focus on reliability.

Read More

Join Me at ESPC 2019 for SharePoint Framework Development

Tuesday, August 27, 2019 1:52 PM

In December later this year, I will be at the European SharePoint, Office 365 & Azure Conference in Prague presenting topics on the SharePoint Framework SharePoint developers. This is my second time with ESPC after joining the show in Copenhagen in December 2018. I’m very much looking forward to this year’s event, just like last year’s conference. It will be my first trip to Prague, a city I’m really looking forward to explore when time allows.

Read More

Automated Hugo Releases With Azure Pipelines

Thursday, August 22, 2019 6:18 AM

Last week I wrote how I migrated my site from a dynamic CMS to a static site generated using Hugo. The site & all supporting processes are hosted in Microsoft Azure. In this post, I will explain how the site is automatically built and deployed when I either push new/updated content as well as on a scheduled basis. This is all implemented using Azure DevOps pipelines.

Read More

Hosting Hugo on Azure

Saturday, August 17, 2019 6:07 PM

Last week I wrote how I migrated my site from a dynamic CMS to a static site generated using Hugo. The entire site and all supporting processes are hosted in the Microsoft cloud, specifically Azure DevOps & Microsoft Azure. In this post, I will explain how the site is hosted in Microsoft Azure. This assumes the static files have already been built so you will see how it's exposed to the world.

Read More

Moved This Site to Hugo

Tuesday, August 13, 2019 4:02 PM

I started this site and blogging as a personal journal almost exactly 16 years ago today, in September 2003. Over the last 16 years, I’ve used three different open source engines to implement the site, starting with .Text, it’s successor SubText and then moved to Orchard CMS in 2013. Orchard served me well for the last six years, but after much consideration, I’ve made yet another re-platforming move. The site you’re reading right now is on the new platform!

Read More