[react] Types for 20 #69436
Replies: 6 comments 7 replies
-
|
Thanks for the discussion about "react", some useful links for everyone: Pinging the DT module owners: @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @eps1lon, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @priyanshurav, @Semigradsky, @mattpocock. |
Beta Was this translation helpful? Give feedback.
-
|
Proposal to remove
|
Beta Was this translation helpful? Give feedback.
-
|
Proposal to remove
|
Beta Was this translation helpful? Give feedback.
-
|
Type narrowing of Old behavior of See #74383 for more context |
Beta Was this translation helpful? Give feedback.
-
|
Since TypeScript 5.0 has reached end-of-life, we can remove the fork to reduce maintenance burden. We no longer test with 5.0 anyway. React types will stop working with TypeScript 5.0. |
Beta Was this translation helpful? Give feedback.
-
|
The types of React props of builtin HTML elements accept many props that are actually invalid. It would be nice if the types only define the props that are actually used. Notably many elements accept useless event handlers, and void elements accept children. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
React 20 is not released. This issue is meant to collect type-related breaking changes we want to ship with the next major:
unknown: [react] Mark error from componentDidCatch to beunknown#69434 (review)ChangeEvent.targetBeta Was this translation helpful? Give feedback.
All reactions