devMode.fm

Sprig brings Reactivity to Twig


Listen Later

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.

  • Sprig plugin
  • Sprig docs
  • Sprig cookbook
  • Definition of "sprig"
  • Reactive Components in Twig with Sprig video
  • htmx
  • intercooler.js
  • Alpine.js
  • Laravel Livewire
  • CraftQuest.io lessons
    ...more
    View all episodesView all episodes
    Download on the App Store

    devMode.fmBy Andrew Welch, Ryan Irelan

    • 4.7
    • 4.7
    • 4.7
    • 4.7
    • 4.7

    4.7

    32 ratings