Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move DOM APIs to private directory #42386

Closed
wants to merge 2 commits into from

Conversation

rubennorte
Copy link
Contributor

Summary:
The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to src/private/dom.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 19, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

@analysis-bot
Copy link

analysis-bot commented Jan 19, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,863,246 +3
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,250,561 -14
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: a758694
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 848510d3fd63cd8daed7225e6b7effb5afb8191e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: c816abc75e48eeca806298ac4bf66750e037c69d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: aebdaf2bb84370a052ca5a5133ea683eb3bd36e0
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 955355b7b36689496c2ca8fc23f2f1160e99ed70
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 759c2c83528e0f6aa8e94886dd8966ba2da05885
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 7251aca6e4a8af351ad9dcba0cfc6b5189e514cb
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: df5c2ab3653307a971d683d8b0a2634a51d80d46
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 19, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 01bd5cb7452b2aca19affa9e0049f8625912e0bc
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 265e40e92c74ad2d1dcc05e33fd084e907109f05
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: f6d861a4df0d389b99c0667da5ec82ac96531b38
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 46048cc5ed0d598a7e35dfaf84f9c98ce4a1ce35
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: d5aa49bc67498f4d1e5cf2c27f8e040844801cfc
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to .

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 654912c44616338cfafbdcf9ab9c9442559d903a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: d4a66359a895cde555bc68dbf1265a89e7edaad0
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 21, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: f1e683a1c7248c93e7011426fb0165fd045abff9
Summary:
Pull Request resolved: facebook#42385

This adds support for having JS files in a `src` directory within the `react-native` package. The plan is to have 2 subdirectories there:
* `react-native/src/private` for private modules, with any nested directories (e.g.: `react-native/src/private/dom/nodes/ReadOnlyNode.js`).
* `react-native/src/public` for public modules, without nested directories. The plan is that the individual modules created in this directory will be public through the index module or directly via something like `react-native/View` (mapped to `react-native/src/public/View`, or a `dist` directory in the published npm package—details TBD).

The enforcement of private modules being inaccessible from outside the `react-native` package will be added soon by huntie.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875999

fbshipit-source-id: 425126644258987f58e249b67a7da0c625e48bad
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: ae2910edfde601fceb2eba1445a9695c2e4b70d6
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D52875998

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 22, 2024
Summary:
Pull Request resolved: facebook#42386

The new DOM APIs are completely private at the moment, so they make them a good candidate to test the new directory structure (and make sure everything works correctly in CI, etc.). This moves those files to `src/private/dom`.

Changelog: [internal]

Reviewed By: huntie

Differential Revision: D52875998

fbshipit-source-id: 945e80739b3afa535079ef24e6802f4d7780b565
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 1d3349e.

@facebook-github-bot facebook-github-bot added Merged This PR has been merged. Reverted labels Jan 22, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 7475e2b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Reverted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants