Commit aa0291e
authored
fix: align react-dom with react so the app mounts (#18)
A Dependabot bump moved react to 19.2.8 while react-dom stayed on 19.2.7.
React 19 refuses to render a mismatched pair: the published 1.4.3 build threw
"Minified React error #527" at mount and showed a blank page.
Nothing in the pipeline caught it. The unit tests never mount through
react-dom, `tsc --noEmit` and `vite build` both succeed, and the published
bundle byte-matched its source, so every existing check passed on a broken app.
Align react-dom to 19.2.8 and add a test that compares the versions the bundle
actually resolves, not the declared ranges. Verified by mutation: pinning
react-dom back to 19.2.7 fails the new test. The rebuilt app renders with no
console errors.1 parent d24d109 commit aa0291e
3 files changed
Lines changed: 29 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments