Skip to content

Commit 2bf8c97

Browse files
authored
chore(deps): update react and stencil/react-output-target (#31063)
## What is the current behavior? Ionic Framework uses React 17 and Stencil react-output-target 0.5.3. ## What is the new behavior? Updated to React 18 and Stencil react-output-target 1.5.0. - Types updated for compatibility with type changes in React 18. - `@testing-library/react-hooks` was moved to `@testing-library/react` so this dependency has been removed. - `reflect: true` added to `value` prop on ion-radio. Props without reflection enabled are not rendered in HTML with updated react-output-target. Issue: stenciljs/output-targets#476 BREAKING CHANGE: Drops support for React 17. Applications will need to update to React 18 to be officially supported by Ionic Framework.
1 parent 66a3e8a commit 2bf8c97

27 files changed

Lines changed: 2247 additions & 340 deletions

BREAKING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@ This is a comprehensive list of the breaking changes introduced in the major ver
1414

1515
## Version 9.x
1616

17+
- [Browser and Platform Support](#version-9x-browser-platform-support)
1718
- [Components](#version-9x-components)
1819
- [Router Outlet](#version-9x-router-outlet)
1920

21+
<h2 id="version-9x-browser-platform-support">Browser and Platform Support</h2>
22+
23+
This section details the desktop browser, JavaScript framework, and mobile platform versions that are supported by Ionic 9.
24+
25+
**Minimum JavaScript Framework Versions**
26+
| Framework | Supported Version |
27+
| --------- | --------------------- |
28+
| React | 18+ |
29+
2030
<h2 id="version-9x-components">Components</h2>
2131

2232
<h4 id="version-9x-router-outlet">Router Outlet</h4>

core/api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ ion-radio,prop,justify,"end" | "space-between" | "start" | undefined,undefined,f
14211421
ion-radio,prop,labelPlacement,"end" | "fixed" | "stacked" | "start",'start',false,false
14221422
ion-radio,prop,mode,"ios" | "md",undefined,false,false
14231423
ion-radio,prop,name,string,this.inputId,false,false
1424-
ion-radio,prop,value,any,undefined,false,false
1424+
ion-radio,prop,value,any,undefined,false,true
14251425
ion-radio,event,ionBlur,void,true
14261426
ion-radio,event,ionFocus,void,true
14271427
ion-radio,css-prop,--border-radius,ios

0 commit comments

Comments
 (0)