What WordPress 7.0 changes in the Interactivity API
WordPress 7.0 adds a watch() function to the Interactivity API for side effects that do not belong to a single DOM element, and the router store now gets state.url from the server, so the undefined guards can go. Two navigation properties are deprecated along the way.