Why you should consider installing the SharePoint Framework Yeoman generator locally

Why you should consider installing the SharePoint Framework Yeoman generator locally

When SharePoint Framework was released publicly, I started wondering: how can we use the latest generator while supporting older projects? Following the recommendations When you setup your development environment for building SharePoint Framework solutions, you start with installing Yeoman and the SharePoint Framework Yeoman generator. You follow the recommendation and
Don't wait for someone else to find your bugs

Don't wait for someone else to find your bugs

I hate bugs in my code. They keep me awake at night and keep me from moving on with my work. Some bugs confront me with my lack of focus, other puzzle me. Some prove that I don't know everything. Some bugs are downright annoying. Bugs suck. I know you
Don't use PropertyPaneTextField with numeric web part properties

Don't use PropertyPaneTextField with numeric web part properties

When building SharePoint Framework client-side web parts, don't use PropertyPaneTextField to manage values of numeric web part properties. Here is why. Configure with ease What distinguishes web parts from other SharePoint customizations is how easily you can configure them to your specific needs. Using web parts, you can compose pages
Logging in SharePoint Framework solutions

Logging in SharePoint Framework solutions

Proper logs are invaluable when your solution isn't working as expected. Here is how you can log information in the SharePoint Framework. You're blind without logging When building software it's hard to avoid bugs. The more complex the solution, the bigger the odds that one of its parts will malfunction
Write conditional code in the SharePoint Framework

Write conditional code in the SharePoint Framework

Did you know, that when building SharePoint Framework solutions you can easily include code that will be available only in the debug build? Conditional code in c# When writing c# code, you might have used the #if compiler directive. Combined with the DEBUG symbol, it allowed you to write