Skip to content

Delete __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED from React Native Renderer#31276

Merged
yungsters merged 1 commit into
facebook:mainfrom
yungsters:secrets
Oct 16, 2024
Merged

Delete __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED from React Native Renderer#31276
yungsters merged 1 commit into
facebook:mainfrom
yungsters:secrets

Conversation

@yungsters
Copy link
Copy Markdown
Contributor

Summary

The React Native Renderer exports a __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED property with a single method that has no remaining call sites: computeComponentStackForErrorReporting

This PR cleans up this unused export.

How did you test this change?

$ yarn
$ yarn flow fabric
$ yarn test

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 5:56pm

@react-sizebot
Copy link
Copy Markdown

Comparing: 77b637d61200eef4dca4cbe4258da358d6337c7b...7e823db2e4fe6dac62c3a10098c031ce07a9ac2f

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 506.53 kB 506.53 kB = 90.68 kB 90.68 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 511.47 kB 511.47 kB = 91.40 kB 91.40 kB
facebook-www/ReactDOM-prod.classic.js = 603.93 kB 603.93 kB = 106.89 kB 106.89 kB
facebook-www/ReactDOM-prod.modern.js = 580.15 kB 580.15 kB = 102.97 kB 102.97 kB
react-native/shims/ReactNativeTypes.js = 8.63 kB 8.32 kB = 2.35 kB 2.18 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
react-native/shims/ReactNativeTypes.js = 8.63 kB 8.32 kB = 2.35 kB 2.18 kB

Generated by 🚫 dangerJS against cae3669

@yungsters yungsters merged commit a3d9ea0 into facebook:main Oct 16, 2024
@yungsters yungsters deleted the secrets branch October 16, 2024 18:19
github-actions Bot pushed a commit that referenced this pull request Oct 16, 2024
…t Native Renderer (#31276)

## Summary

The React Native Renderer exports a
`__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED` property with a
single method that has no remaining call sites:
`computeComponentStackForErrorReporting`

This PR cleans up this unused export.

## How did you test this change?

```
$ yarn
$ yarn flow fabric
$ yarn test
```

DiffTrain build for [a3d9ea0](a3d9ea0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants