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

[Float] use common float types #26938

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Conversation

gnoff
Copy link
Collaborator

@gnoff gnoff commented Jun 13, 2023

Float types are currently spread out. this moves them to a single place to ensure we properly handle the public type interface in all three renderers.

This is a step towards moving the public interface and validation to a common file shared by all three runtimes. Will also probably change the function interface to be flatter

@facebook-github-bot facebook-github-bot added the React Core Team Opened by a member of the React Core Team label Jun 13, 2023
@react-sizebot
Copy link

react-sizebot commented Jun 13, 2023

Comparing: ce6842d...5355bf5

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.min.js = 164.23 kB 164.23 kB = 51.73 kB 51.73 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 171.67 kB 171.67 kB = 53.97 kB 53.97 kB
facebook-www/ReactDOM-prod.classic.js = 570.12 kB 570.12 kB = 100.58 kB 100.58 kB
facebook-www/ReactDOM-prod.modern.js = 553.90 kB 553.90 kB = 97.75 kB 97.75 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 5355bf5

Copy link
Collaborator

@sebmarkbage sebmarkbage left a comment

Choose a reason for hiding this comment

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

shared/ReactTypes has most of the public types. Maybe something like react-dom-bindings/src/shared/ReactDOMTypes.js?

…ce to ensure we properly handle the public type interface in all three renderers
@gnoff gnoff merged commit 7ed6084 into facebook:main Jun 13, 2023
36 checks passed
@gnoff gnoff deleted the standardize-float-types branch June 13, 2023 20:30
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
Float types are currently spread out. this moves them to a single place
to ensure we properly handle the public type interface in all three
renderers.

This is a step towards moving the public interface and validation to a
common file shared by all three runtimes. Will also probably change the
function interface to be flatter
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
Float types are currently spread out. this moves them to a single place
to ensure we properly handle the public type interface in all three
renderers.

This is a step towards moving the public interface and validation to a
common file shared by all three runtimes. Will also probably change the
function interface to be flatter

DiffTrain build for commit 7ed6084.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants