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

DevTools should use reconciler version (rather than renderer version) #21269

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Apr 14, 2021

Resolves #21262
Builds on top of #21268

The reconciler should inject its own version into DevTools so that tags/constants can be based on it. This will support 3rd party renderers that may use a different version scheme.

@facebook-github-bot facebook-github-bot added React Core Team Opened by a member of the React Core Team CLA Signed labels Apr 14, 2021
@bvaughn bvaughn changed the title Reconciler should inject its own version into DevTools hook DevTools should use reconciler version (rather than renderer version) when available Apr 14, 2021
@bvaughn bvaughn force-pushed the devtools-use-reconciler-version branch from cd39d93 to 0cc74e2 Compare April 14, 2021 18:01
@sizebot
Copy link

sizebot commented Apr 14, 2021

Comparing: 6b3d86a...0cc74e2

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 +0.03% 122.68 kB 122.72 kB +0.03% 39.38 kB 39.39 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js +0.04% 129.25 kB 129.30 kB +0.03% 41.46 kB 41.48 kB
facebook-www/ReactDOM-prod.classic.js = 412.18 kB 412.22 kB = 76.23 kB 76.23 kB
facebook-www/ReactDOM-prod.modern.js +0.01% 400.23 kB 400.29 kB = 74.32 kB 74.32 kB
facebook-www/ReactDOMForked-prod.classic.js = 412.18 kB 412.22 kB = 76.23 kB 76.24 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 0cc74e2

@bvaughn bvaughn changed the title DevTools should use reconciler version (rather than renderer version) when available DevTools should use reconciler version (rather than renderer version) Apr 14, 2021
@bvaughn bvaughn merged commit 6809778 into facebook:master Apr 14, 2021
@bvaughn bvaughn deleted the devtools-use-reconciler-version branch April 14, 2021 18:48
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
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.

DevTools use the renderer version to detect features on react-reconciler
5 participants