Consider polyfill solution to allow wp-scripts upgrades

Open
#2,624 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react

Research direction

Start by reviewing pull request 2533, the Gutenberg issue 62202, and the wp-scripts v28 changelog linked in the issue. Determine whether a polyfill can preserve the React-based tooling for supported WordPress versions and document or implement a viable approach, including the minimum WordPress version requirement.

Written by the indexing model from the issue text.

Description

Maintenance & Fixes wp-parsely

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.

Dominant language
PHP
Stars
67
Forks
38
Avg merge
1d 5h
Merged PRs (30d)
79

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Parsely/wp-parsely

All issues in Parsely/wp-parsely

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.