Hybrid Rendering Test
A demo of hybrid rendered blocks.
by The WordPress Contributors · github.com/nerrad/hybrid-block-demo
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nerrad/hybrid-block-demo/archive/refs/heads/master.zipHybrid Rendering Demo
This is just a proof of concept demo for having client side rendered blocks using a "template" persisted via the save function. The template currently uses Mustache for template tags that the server is then able to use to know where to render data.
The idea behind this is that it allows for pre-rendering server side the content served to the frontend when we also want a React app to hydrate using that content to the same components used to render the view in the editor. Typically useful when there is interactivity powered by JavaScript.