Dynamic blocks FTW!: Customize Gutenberg without living in fear of validation errors

General lecture

All times are listed in your local time zone: UTC (+00:00).
Log in
This session has ended.

Description

Picture this: You write a brand new custom Gutenberg block. Sometime later, you realize that you need to change your block's markup to either fix a bug or add a new feature. Suddenly, the editor crashes your block. Validation error! You can fix this with a deprecation object. Or… could there be a better way?

Enter the dynamic block. In this workshop, you will learn about the difference between dynamic and static blocks, how block validation works, and how to write a dynamic block. You will never have to write a deprecation again!

This talk is rather technical, but you only need to know some basic HTML, JavaScript, and PHP. This is easier than it sounds. I promise!

Session topics

Resources

Presenters

  • Joni Halabi

    Senior Front-End Web Developer, Georgetown University

    I am a senior Javascript front-end web developer for Georgetown University in Washington DC. I specialize in developing CMS themes and Javascript applications, and have spent the last 20 years building solutions for higher education, e-commerce corporations, non-profit organizations, and technology companies. When I am not geeking out over code,...