Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [interactivity-api]

The tag has no usage guidance.

interactivity-api
0 votes
1 answer
18 views

WordPress Interactivity API how to use data-wp-bind--checked in a loop?

Is it possible to bind checked on a group of radio buttons generated in a loop and have the checked state be determined by the state? Strangely enough in my current setup the last value is checked ...
Webconstructor's user avatar
1 vote
1 answer
53 views

Using Context with Getter Methods in WordPress Interactivity API

I'm working with the WordPress Interactivity API and I've encountered an issue with using context and getter methods. Here's my current code: import { store, getContext } from '@wordpress/...
Byeongin Yoon's user avatar
0 votes
1 answer
61 views

Why does wordpress interactivity api need context?

WordPress Interactivity API was officially released with WordPress 6.5. As I've been studying this new feature, I find it intriguing, but I'm somewhat perplexed about certain aspects, particularly ...
Byeongin Yoon's user avatar