wp-parsely icon indicating copy to clipboard operation
wp-parsely copied to clipboard

Consider polyfill solution to allow wp-scripts upgrades

Open acicovic opened this issue 1 year ago • 2 comments

Is your feature request related to a problem?

When we attempted to upgrade to wp-scripts v28, our tooling based on React disappeared. This was experienced by others as well, and the main issue is here.

Apparently, there are 2 propositions:

  1. Don't upgrade to wp-scripts v28 until the minimum WP version for the plugin is 6.6. This is what's officially proposed in the changelog and related article.
  2. There's a mention of using a polyfill solution.

Describe the solution you'd like

For now, we've paused dependabot updates for v28.

Although this is what's officially proposed, the first proposition's viability isn't a given in my opinion. If a polyfill solution is implementable, we should look into this possibility. It seems that the polyfill solution will require updating our minimum WP version to at least 5.9, which shouldn't be an issue.

acicovic avatar Jul 10 '24 06:07 acicovic

Let's remember to remove "@typescript-eslint/method-signature-style": "error" from .eslintrc when we're done with this.

acicovic avatar Jul 24 '24 08:07 acicovic

Seems that we're blocked for the time being. See https://github.com/WordPress/gutenberg/issues/62202#issuecomment-2357812571.

acicovic avatar Sep 20 '24 15:09 acicovic