WordPress 7.0 introduces three notable changes to the Interactivity API. First, a new programmatic `watch()` function in `@wordpress/interactivity` lets developers subscribe to reactive state changes outside of DOM directives, with support for cleanup callbacks and an `unwatch()` return value. Second, the

3m read time From make.wordpress.org
Post cover image
Table of contents
New watch() functionDeprecated state.navigation properties in core/routerstate.url from core/router is now populated on the serverShare this:

Sort: