DEV Community

devMode.fm

Sprig brings Reactivity to Twig

On this episode, we talk to Ben Croker from PutYourLightsOn about his new plugin for Craft CMS called Sprig.

Sprig brings reactivity to your Twig templates, by allowing you to do what are effectively dynamic includes of familiar Twig templates.

This allows you to do dynamic things like handle pagination, dynamic updating of content, and more while keeping a unified Twig-based rendering model.

Joined by Ryan Irelan, we delve into how Sprig can be used as a little extra seasoning for your web pages, without having to resort to a full blown frontend framework like React or Vue.

Episode source