refactor(runtime): export vnode constants from internal#2415
Conversation
🦋 Changeset detectedLatest commit: 0259d2c The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe pull request introduces symbol-keyed properties for VNode internal fields across the React runtime. Constants Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will degrade performance by 14.83%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | 002-hello-reactLynx-destroyBackground |
930.3 µs | 679.3 µs | +36.95% |
| ❌ | transform 1000 view elements |
40.3 ms | 47.3 ms | -14.83% |
Comparing chore/runtime-vnode-constants (0259d2c) with main (44b966c)
Footnotes
-
21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
React MTF Example#184 Bundle Size — 207.38KiB (0%).0259d2c(current) vs 44b966c main#178(baseline) Bundle metrics
Bundle size by type
|
| Current #184 |
Baseline #178 |
|
|---|---|---|
111.23KiB |
111.23KiB |
|
96.15KiB |
96.15KiB |
Bundle analysis report Branch chore/runtime-vnode-constants Project dashboard
Generated by RelativeCI Documentation Report issue
React Example#7052 Bundle Size — 237.81KiB (0%).0259d2c(current) vs 44b966c main#7046(baseline) Bundle metrics
Bundle size by type
|
| Current #7052 |
Baseline #7046 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
92.05KiB |
92.05KiB |
Bundle analysis report Branch chore/runtime-vnode-constants Project dashboard
Generated by RelativeCI Documentation Report issue
React External#170 Bundle Size — 591.44KiB (+0.08%).0259d2c(current) vs 44b966c main#164(baseline) Bundle metrics
|
| Current #170 |
Baseline #164 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
30.97% |
30.97% |
|
0 |
0 |
|
3 |
3 |
|
17 |
17 |
|
5 |
5 |
|
8.59% |
8.59% |
|
0 |
0 |
|
0 |
0 |
Bundle size by type
1 change
1 regression
| Current #170 |
Baseline #164 |
|
|---|---|---|
591.44KiB (+0.08%) |
590.96KiB |
Bundle analysis report Branch chore/runtime-vnode-constants Project dashboard
Generated by RelativeCI Documentation Report issue
Web Explorer#8627 Bundle Size — 728.84KiB (0%).0259d2c(current) vs 44b966c main#8621(baseline) Bundle metrics
|
| Current #8627 |
Baseline #8621 |
|
|---|---|---|
43.31KiB |
43.31KiB |
|
2.16KiB |
2.16KiB |
|
0% |
0% |
|
8 |
8 |
|
10 |
10 |
|
150 |
150 |
|
11 |
11 |
|
34.68% |
34.68% |
|
3 |
3 |
|
0 |
0 |
Bundle size by type no changes
| Current #8627 |
Baseline #8621 |
|
|---|---|---|
384.62KiB |
384.62KiB |
|
342.07KiB |
342.07KiB |
|
2.16KiB |
2.16KiB |
Bundle analysis report Branch chore/runtime-vnode-constants Project dashboard
Generated by RelativeCI Documentation Report issue
Yradex
left a comment
There was a problem hiding this comment.
Is a 0.5 KB increase in the React externals example bundle size expected?
Summary by CodeRabbit
Checklist