youtube image
From YouTube: PnPjs v3 – Create a SPFx React JS web part using the PnPjs library

Description

In this 9-minute demo, Julie Turner and Patrick Rodgers show viewers how to get started on creating a very basic SharePoint Framework React JS web part using the PnPjs v3 library. Scaffold out a SharePoint Framework project, install libraries (@pnp/sp and @pnp/logging libraries), inspect dependencies in the package json, verify using rush-stack-complier 4.2 and gulpfile.js. Set up the pnpjsConfig.ts files (selectively import parts of library needed for project and GetSP function that includes spfi (Fluent interface) and PnPLogging behavior. These activities centralize and simplify the setup and configuration for the PnPjs library. This is part 2 of a 5-part series.

Demo Presenters
📽️ Julie Turner | @jfj1997
📽️ Patrick Rodgers | @mediocrebowler

Supporting materials
✔️ Library - PnP/PnPjs | https://pnp.github.io/pnpjs

Learn more
✔️ Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
✔️ Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
✔️ Microsoft 365 Platform Community blog - https://pnp.github.io/blog
✔️ Microsoft 365 Platform Community - http://aka.ms/m365/community