This block is a simple booking form that uses the Interactivity API to manage the state of the form.
Warning This block requires Gutenberg 16.2 or superior to work. The Interactivity API is, at the moment, not part of WordPress Core as it is still very experimental, and very likely to change.
Note This block uses the API shared at Proposal: The Interactivity API – A better developer experience in building interactive blocks.
This block has been created with the create-block-interactive-template
and shows a basic structure of an interactive block that uses the Interactivity API.
Check the following resources for more info about the Interactivity API: