October 2019 Blog Posts

All blog posts that were published in October 2019. To view posts from other months, use the archive control in the right-hand sidebar to pick the specified month from the specified year.

Microsoft MVP Logo

Add Search to Hugo Sites With Azure Search

Tuesday, October 22, 2019 9:05 AM

A few months ago I re-launched my site on Hugo. At that time, my goal was simply to get off my own platform and onto Hugo. This was quickly followed up by automating my deployments with Azure Pipelines. I wasn't finished, there were a few more things I wanted to add, including search. That's what this post is about (and the next few). I'll show you how I added search to the site using Azure Search, and all using the 100% free tier!

Read More

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