Skip to content

Conversation

@andrewdavid48
Copy link
Contributor

In one of the new React minified versions, they changed p(418) to n(418).

This change still allow p(418) backward compatibility as forward compatibility with the new React version which introduces the n function.

This change also introduces a replacement for 423 errors as they can also crash the runtime and malform the webpage.

@netlify
Copy link

netlify bot commented May 10, 2025

Deploy Preview for tanstack canceled.

Name Link
🔨 Latest commit df76ae9
🔍 Latest deploy log https://app.netlify.com/sites/tanstack/deploys/681f587b41870800090fad38

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the error replacement mappings to support both legacy and the new React minified version functions and introduces replacements for 423 errors to prevent runtime crashes.

  • Added support for the new n(418) function while retaining p(418) for backward compatibility
  • Introduced error replacement for 423 errors

@schiller-manuel schiller-manuel merged commit 784c501 into TanStack:main May 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants