WordPress: React, Gutenberg blocks and the Interactivity API

WordPress + React. React has two justified places in WordPress: (1) Gutenberg blocks - the editor loads React anyway, (2) the Interactivity API on the front end - declarative data-wp-* directives on PHP-rendered HTML, Preact underneath. Full React on the front end (ReactDOM.createRoot) only for in-page applications: a configurator, a calculator, a customer panel.

Updated 2 files

Available to license holders

Log in to the account you used to buy your ContextAdmin license. Downloads and full guides unlock as soon as you are signed in.