WordPress, WASM and Web Components, Oh My!

Simon MacDonald

WordPress has long been a cornerstone of the web development community, providing a robust platform for creating diverse websites and applications. However, as the web evolves, developers seek new ways to enhance user experiences while maintaining scalability and consistency across projects. This proposal introduces the integration of Web Components into WordPress, offering a powerful solution to bridge the gap between flexibility and web standards.

Via WASM we can run the Enhance server side rendering engine to leverage standards based components anywhere in the WordPress ecosystem, including in PHP templates, in the block editor, and through raw HTML. They are server side rendered by default to work immediately. But they can include enhanced client-side behavior eliminating the need for a JavaScript frontend framework in most cases. The components can also be used anywhere outside of WordPress, allowing organizations to leverage them in other properties.

Simon MacDonald

Categories:

Tracks:

WordCamp Canada 2024 is over. Check out the next edition!