Javascript

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices

PnP (Patterns and Practices) is the umbrella for several separate tools that speed up SharePoint Framework development — PnPjs for calling SharePoint from code, PnP PowerShell for admin/automation tasks, and a library of reusable React controls for SPFx web parts. This post covers what each actually does, where the real limitations are, and two places […]

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices Read More »

Does “for…of” loop wait for async awaits in JavaScript?

Worth a direct correction before anything else: a `for…of` loop does wait for an `await` inside it — each iteration pauses until the awaited promise resolves before the loop advances to the next one. That’s the opposite of what a stub answer to this question sometimes claims, and it’s easy to get backwards since the

Does “for…of” loop wait for async awaits in JavaScript? Read More »

SharePoint Term Store with PowerShell and JavaScript

This post covers a different problem than How to Update Term Store Values with REST API, MS Graph, JavaScript, and PnPjs — that post covers editing the terms themselves (renaming, restructuring the taxonomy). This one is about the far more common task: tagging a list item with an existing term through a Managed Metadata column,

SharePoint Term Store with PowerShell and JavaScript Read More »

Creating Multiple SharePoint List Items Using SharePoint REST API

Creating many list items in one call means the same SharePoint REST `$batch` endpoint covered from the PnPjs side in SharePoint Data Handling with PnP Batching Queries — worth reading there for the wire-format details and the real 100-request cap, both of which apply here too. This post stays on the raw `fetch`-based approach specifically,

Creating Multiple SharePoint List Items Using SharePoint REST API Read More »

Handling International Date Functionalities in JavaScript

Formatting a date correctly for a global audience is a different problem than storing or converting it between time zones — for that side (native `Date` limitations, the new `Temporal` API, and which library is still current), see Store and Display Dates Properly in JavaScript. This post stays specifically on locale-aware formatting: getting the date

Handling International Date Functionalities in JavaScript Read More »

Store and Display Dates Properly in JavaScript

Worth leading with directly, since it’s the biggest recent change to this topic: JavaScript now has a native, built-in replacement for the notoriously bad `Date` object. The `Temporal` API reached TC39 Stage 4 (officially part of the language spec) in March 2026 and is already shipping in Chrome, Firefox, and Edge — immutable, timezone-aware, and

Store and Display Dates Properly in JavaScript Read More »