Skip to content

Commit a763fed

Browse files
committed
Use stable React 19.3 in Sandpacks
1 parent 521d4c2 commit a763fed

8 files changed

Lines changed: 68 additions & 68 deletions

File tree

src/components/MDX/Sandpack/template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ root.render(
3535
eject: 'react-scripts eject',
3636
},
3737
dependencies: {
38-
react: '19.3.0-canary-f1f7ed2a-20260904',
39-
'react-dom': '19.3.0-canary-f1f7ed2a-20260904',
38+
react: '^19.3.0',
39+
'react-dom': '^19.3.0',
4040
'react-scripts': '^5.0.0',
4141
},
4242
},

src/components/MDX/Sandpack/templateRSC.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ export const templateRSC: SandpackFiles = {
9191
version: '0.0.0',
9292
main: '/src/index.js',
9393
dependencies: {
94-
react: '19.3.0-canary-f1f7ed2a-20260904',
95-
'react-dom': '19.3.0-canary-f1f7ed2a-20260904',
94+
react: '19.3.0',
95+
'react-dom': '19.3.0',
9696
},
9797
},
9898
null,

src/content/blog/2026/09/09/react-19-3.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ button:hover {
211211
```json package.json hidden
212212
{
213213
"dependencies": {
214-
"react": "19.3.0-canary-f1f7ed2a-20260904",
215-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
214+
"react": "^19.3.0",
215+
"react-dom": "^19.3.0",
216216
"react-scripts": "latest"
217217
}
218218
}
@@ -546,8 +546,8 @@ button:hover {
546546
```json package.json hidden
547547
{
548548
"dependencies": {
549-
"react": "19.3.0-canary-f1f7ed2a-20260904",
550-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
549+
"react": "^19.3.0",
550+
"react-dom": "^19.3.0",
551551
"react-scripts": "latest"
552552
}
553553
}
@@ -797,8 +797,8 @@ button:hover {
797797
```json package.json hidden
798798
{
799799
"dependencies": {
800-
"react": "19.3.0-canary-f1f7ed2a-20260904",
801-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
800+
"react": "^19.3.0",
801+
"react-dom": "^19.3.0",
802802
"react-scripts": "latest"
803803
}
804804
}
@@ -1048,8 +1048,8 @@ button:hover {
10481048
```json package.json hidden
10491049
{
10501050
"dependencies": {
1051-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1052-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1051+
"react": "^19.3.0",
1052+
"react-dom": "^19.3.0",
10531053
"react-scripts": "latest"
10541054
}
10551055
}
@@ -1301,8 +1301,8 @@ img {
13011301
```json package.json hidden
13021302
{
13031303
"dependencies": {
1304-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1305-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1304+
"react": "^19.3.0",
1305+
"react-dom": "^19.3.0",
13061306
"react-scripts": "latest"
13071307
}
13081308
}
@@ -1476,8 +1476,8 @@ export default function InView({ onChange, children }) {
14761476
```json package.json hidden
14771477
{
14781478
"dependencies": {
1479-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1480-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1479+
"react": "^19.3.0",
1480+
"react-dom": "^19.3.0",
14811481
"react-scripts": "latest"
14821482
}
14831483
}
@@ -1651,8 +1651,8 @@ iframe {
16511651
```json package.json hidden
16521652
{
16531653
"dependencies": {
1654-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1655-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1654+
"react": "^19.3.0",
1655+
"react-dom": "^19.3.0",
16561656
"react-scripts": "latest"
16571657
}
16581658
}
@@ -1791,8 +1791,8 @@ iframe {
17911791
```json package.json hidden
17921792
{
17931793
"dependencies": {
1794-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1795-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1794+
"react": "^19.3.0",
1795+
"react-dom": "^19.3.0",
17961796
"react-scripts": "latest"
17971797
}
17981798
}

src/content/reference/react-dom/browser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ iframe {
189189
```json package.json hidden
190190
{
191191
"dependencies": {
192-
"react": "19.3.0-canary-f1f7ed2a-20260904",
193-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
192+
"react": "^19.3.0",
193+
"react-dom": "^19.3.0",
194194
"react-scripts": "latest"
195195
},
196196
"scripts": {
@@ -356,8 +356,8 @@ iframe {
356356
```json package.json hidden
357357
{
358358
"dependencies": {
359-
"react": "19.3.0-canary-f1f7ed2a-20260904",
360-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
359+
"react": "^19.3.0",
360+
"react-dom": "^19.3.0",
361361
"react-scripts": "latest"
362362
},
363363
"scripts": {

src/content/reference/react/Fragment.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ export default function App() {
511511
```json package.json hidden
512512
{
513513
"dependencies": {
514-
"react": "19.3.0-canary-f1f7ed2a-20260904",
515-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
514+
"react": "^19.3.0",
515+
"react-dom": "^19.3.0",
516516
"react-scripts": "latest"
517517
}
518518
}
@@ -620,8 +620,8 @@ label {
620620
```json package.json hidden
621621
{
622622
"dependencies": {
623-
"react": "19.3.0-canary-f1f7ed2a-20260904",
624-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
623+
"react": "^19.3.0",
624+
"react-dom": "^19.3.0",
625625
"react-scripts": "latest"
626626
}
627627
}
@@ -716,8 +716,8 @@ p {
716716
```json package.json hidden
717717
{
718718
"dependencies": {
719-
"react": "19.3.0-canary-f1f7ed2a-20260904",
720-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
719+
"react": "^19.3.0",
720+
"react-dom": "^19.3.0",
721721
"react-scripts": "latest"
722722
}
723723
}
@@ -828,8 +828,8 @@ export default function Card({ title }) {
828828
```json package.json hidden
829829
{
830830
"dependencies": {
831-
"react": "19.3.0-canary-f1f7ed2a-20260904",
832-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
831+
"react": "^19.3.0",
832+
"react-dom": "^19.3.0",
833833
"react-scripts": "latest"
834834
}
835835
}
@@ -1018,8 +1018,8 @@ export default function Card({ title, className }) {
10181018
```json package.json hidden
10191019
{
10201020
"dependencies": {
1021-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1022-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1021+
"react": "^19.3.0",
1022+
"react-dom": "^19.3.0",
10231023
"react-scripts": "latest"
10241024
}
10251025
}

src/content/reference/react/Suspense.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,8 +2515,8 @@ iframe {
25152515
```json package.json hidden
25162516
{
25172517
"dependencies": {
2518-
"react": "19.3.0-canary-f1f7ed2a-20260904",
2519-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
2518+
"react": "^19.3.0",
2519+
"react-dom": "^19.3.0",
25202520
"react-scripts": "latest"
25212521
},
25222522
"scripts": {
@@ -2880,8 +2880,8 @@ button:hover {
28802880
```json package.json hidden
28812881
{
28822882
"dependencies": {
2883-
"react": "19.3.0-canary-f1f7ed2a-20260904",
2884-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
2883+
"react": "^19.3.0",
2884+
"react-dom": "^19.3.0",
28852885
"react-scripts": "latest"
28862886
}
28872887
}
@@ -3038,8 +3038,8 @@ hr {
30383038
```json package.json hidden
30393039
{
30403040
"dependencies": {
3041-
"react": "19.3.0-canary-f1f7ed2a-20260904",
3042-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
3041+
"react": "^19.3.0",
3042+
"react-dom": "^19.3.0",
30433043
"react-scripts": "latest"
30443044
}
30453045
}
@@ -3171,8 +3171,8 @@ hr {
31713171
```json package.json hidden
31723172
{
31733173
"dependencies": {
3174-
"react": "19.3.0-canary-f1f7ed2a-20260904",
3175-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
3174+
"react": "^19.3.0",
3175+
"react-dom": "^19.3.0",
31763176
"react-scripts": "latest"
31773177
}
31783178
}
@@ -3388,8 +3388,8 @@ hr {
33883388
```json package.json hidden
33893389
{
33903390
"dependencies": {
3391-
"react": "19.3.0-canary-f1f7ed2a-20260904",
3392-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
3391+
"react": "^19.3.0",
3392+
"react-dom": "^19.3.0",
33933393
"react-scripts": "latest"
33943394
}
33953395
}

src/content/reference/react/ViewTransition.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@ button:hover {
425425
```json package.json hidden
426426
{
427427
"dependencies": {
428-
"react": "19.3.0-canary-f1f7ed2a-20260904",
429-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
428+
"react": "^19.3.0",
429+
"react-dom": "^19.3.0",
430430
"react-scripts": "latest"
431431
}
432432
}
@@ -565,8 +565,8 @@ function Counter() {
565565
```json package.json hidden
566566
{
567567
"dependencies": {
568-
"react": "19.3.0-canary-f1f7ed2a-20260904",
569-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
568+
"react": "^19.3.0",
569+
"react-dom": "^19.3.0",
570570
"react-scripts": "latest"
571571
}
572572
}
@@ -789,8 +789,8 @@ button:hover {
789789
```json package.json hidden
790790
{
791791
"dependencies": {
792-
"react": "19.3.0-canary-f1f7ed2a-20260904",
793-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
792+
"react": "^19.3.0",
793+
"react-dom": "^19.3.0",
794794
"react-scripts": "latest"
795795
}
796796
}
@@ -1023,8 +1023,8 @@ button:hover {
10231023
```json package.json hidden
10241024
{
10251025
"dependencies": {
1026-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1027-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1026+
"react": "^19.3.0",
1027+
"react-dom": "^19.3.0",
10281028
"react-scripts": "latest"
10291029
}
10301030
}
@@ -1224,8 +1224,8 @@ button:hover {
12241224
```json package.json hidden
12251225
{
12261226
"dependencies": {
1227-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1228-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1227+
"react": "^19.3.0",
1228+
"react-dom": "^19.3.0",
12291229
"react-scripts": "latest"
12301230
}
12311231
}
@@ -1486,8 +1486,8 @@ button:hover {
14861486
```json package.json hidden
14871487
{
14881488
"dependencies": {
1489-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1490-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1489+
"react": "^19.3.0",
1490+
"react-dom": "^19.3.0",
14911491
"react-scripts": "latest"
14921492
}
14931493
}
@@ -1717,8 +1717,8 @@ button:hover {
17171717
```json package.json hidden
17181718
{
17191719
"dependencies": {
1720-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1721-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1720+
"react": "^19.3.0",
1721+
"react-dom": "^19.3.0",
17221722
"react-scripts": "latest"
17231723
}
17241724
}
@@ -1963,8 +1963,8 @@ button:hover {
19631963
```json package.json hidden
19641964
{
19651965
"dependencies": {
1966-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1967-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1966+
"react": "^19.3.0",
1967+
"react-dom": "^19.3.0",
19681968
"react-scripts": "latest"
19691969
}
19701970
}
@@ -2292,8 +2292,8 @@ button:hover {
22922292
```json package.json hidden
22932293
{
22942294
"dependencies": {
2295-
"react": "19.3.0-canary-f1f7ed2a-20260904",
2296-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
2295+
"react": "^19.3.0",
2296+
"react-dom": "^19.3.0",
22972297
"react-scripts": "latest"
22982298
}
22992299
}
@@ -2518,8 +2518,8 @@ button:hover {
25182518
```json package.json hidden
25192519
{
25202520
"dependencies": {
2521-
"react": "19.3.0-canary-f1f7ed2a-20260904",
2522-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
2521+
"react": "^19.3.0",
2522+
"react-dom": "^19.3.0",
25232523
"react-scripts": "latest"
25242524
}
25252525
}
@@ -2763,8 +2763,8 @@ button:hover {
27632763
```json package.json hidden
27642764
{
27652765
"dependencies": {
2766-
"react": "19.3.0-canary-f1f7ed2a-20260904",
2767-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
2766+
"react": "^19.3.0",
2767+
"react-dom": "^19.3.0",
27682768
"react-scripts": "latest"
27692769
}
27702770
}

src/content/reference/react/use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,8 +1461,8 @@ iframe {
14611461
```json package.json hidden
14621462
{
14631463
"dependencies": {
1464-
"react": "19.3.0-canary-f1f7ed2a-20260904",
1465-
"react-dom": "19.3.0-canary-f1f7ed2a-20260904",
1464+
"react": "^19.3.0",
1465+
"react-dom": "^19.3.0",
14661466
"react-scripts": "latest"
14671467
},
14681468
"scripts": {

0 commit comments

Comments
 (0)