youtube image
From YouTube: Hyperscript Tagged Markup (HTM) Templating with SharePoint Framework

Description

In this 13-minute developer-focused demo, Fabio Franzini suggests there are 2 common approaches to web part UI development – use a UI framework or use a templating system. Now there’s option 3: React HTM Templating web part that uses Fluent UI components written in React, no wrapper required. Renders the React control as a template. Essentially JS code evaluated through the Function constructor. Review properties, HTML editing, and code in the demo of this PnP sample. This PnP Community demo is taken from the SharePoint Framework and JavaScript Special Interest Group (SIG) – Bi-weekly sync call recorded on September 9, 2021.

Demo Presenter: Fabio Franzini | @franzinifabio

Supporting materials:
• Sample - React HTM (Hyperscript Tagged Markup) Templating | https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-htm-templating

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp/videos