Passing Functions to Components in ReactJS and passing new parameters

I try to use functional react components where I can, but something I've found conceptually confusing for a while now is passing a function to a component. This is confusion has been particularly apparent when using an external React library and I've been tasked to enhance a default component property with some additional feature which … Continue reading Passing Functions to Components in ReactJS and passing new parameters

Testing a React app with Jest (Part 2)

There are a few other useful tricks that will help organise your testing that I feel worth mentioning and not immediately clear. Ideally when you are completing a number of tests on a single function you can group these tests under a single describe() statement. This provides another opportunity the add some description of what … Continue reading Testing a React app with Jest (Part 2)

Testing a React app with Jest (Part 1)

This post is going to provide an introduction to the basics of Jest a javascript testing framework that is included in the Create-React-App, which if you haven't heard of is a great starting point for your new React App. Jest provides all the functionality required to set up unit tests for your javascript application. This … Continue reading Testing a React app with Jest (Part 1)

Adding VS Code launch configurations with environment variables

Visual Studio Code is my preferred IDE for python tool development and it provides great out of the box support for debugging tools during development. The VS Code docs provide a solid explanation on how to add the standard launch configurations to your project. Here I will describe the key methods I use to setup … Continue reading Adding VS Code launch configurations with environment variables

Deploying a static webpage using GitHub pages

I've been working through a number of projects on FreeCodeCamp and on the project guidelines it suggests you can deploy your project whichever way you want. GitHub pages feature provides an extremely easy and most importantly free way to demo your hard work! Secondary to providing some actual live links that can be displayed on … Continue reading Deploying a static webpage using GitHub pages

CheckIn Documents to SharePoint 2010 using just SOAP API!

In my first ever role, SharePoint was fairly widely used and one of the Excel tools I created required interaction with SharePoint specifically to checkIn reports created so that they could be viewed by others internally. At the time I felt pretty proud of myself when I managed to get it working by copying the … Continue reading CheckIn Documents to SharePoint 2010 using just SOAP API!