Tag: JavaScript

Migrating Azure Functions from JSDoc JavaScript to TypeScript
Migrating Azure Functions from JSDoc JavaScript to TypeScript
Blog Posts

I wrote previously about how to implement a dynamic redirect mechanism for Azure Static Web Apps using Azure Functions. I implemented this using JSDoc JavaScript. I’ve since migrated this to TypeScript and I thought it would be interesting to share the process. Why migrate from JSDoc JavaScript to TypeScript?​ As regular readers will know, I’m both… READ MORE

More flexible SPFx development with simple react app
More flexible SPFx development with simple react app
Blog Posts

If You are working on a big project based on SPFx You might have already thought about a way to simplify reusability of Your components and maybe speed up the development process a little bit. SharePoint Framework is a great tool but sadly, it doesn’t scale so well, especially when it comes to sharing functionality… READ MORE

Trigger A SharePoint Workflow From JavaScript
Trigger A SharePoint Workflow From JavaScript
Blog Posts

Intro Sometimes, we get the requirement to start a SharePoint workflow from JavaScript code or have to rerun a work on all existing list items and want to give an easy option to users to trigger a workflow on all items, then this the solution will help you. We’re basically triggering a workflow from JavaScript code… READ MORE

Implement Expand Collapse in SPFx with JavaScript
Implement Expand Collapse in SPFx with JavaScript
Blog Posts

Overview Expand / collapse (aka Accordion) is a very common requirement in SPFx web parts. There are various npm packages available for implementing this. In this article, we will explore implementing expand / collapse functionality in SPFx using plain JavaScript. Although the implementation is with plain JavaScript, it can also be used with React based… READ MORE

JavaScript Detecting Key Combinations
JavaScript Detecting Key Combinations
Blog Posts

The other day we built this cool tool to detect which key was pressed.And as you may have seen, it could only register one key at a time. Today I want to look at how we can capture some combination of keys. This version will be based on only modifier keys and 1 specific key. The… READ MORE

Basic JavaScript Interview Questions
Basic JavaScript Interview Questions
Blog Posts

Hi everyone! So I had couple of interviews this year for JavaScript software development roles, and I felt its worth writing an article on some of the interview questions I was asked. In this article I will write some of the basic JavaScript interview questions I was asked and the answers to them. Explain data… READ MORE

26 Miraculous VS Code Tools for JavaScript Developers in 2019
26 Miraculous VS Code Tools for JavaScript Developers in 2019
Blog Posts

Visual Studio Code (more casually known as VS code) is a lightweight but powerful cross platform source code editor that runs on your desktop. With built in support for development tools like TypeScript and the Chrome Debugger, I quickly fell in love with the editor the more I used it to build my projects. Who doesn’t love the bajillion… READ MORE