WordPress / wp-movies-demo

Demo of the Interactivity API
https://wpmovies.dev
GNU General Public License v2.0
195 stars 42 forks source link

Change directives suffix to double hyphen instead of dot #51

Closed SantosGuillamot closed 1 year ago

SantosGuillamot commented 1 year ago

What?

I updated the current blocks to match the changes made in the Block Interactivity Experiments repo.

Why?

In the Block Interactivity Experiments repo, these changes were made because:

  1. JSX doesn't support attributes with dots in them.
  2. The term island has no meaning in WordPress, and we don't intend to embrace it.

How?