[react] Fragment now exported from react/jsx-runtime #69464
Replies: 2 comments
-
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, @hellatan, @priyanshurav, @Semigradsky, @mattpocock. |
Beta Was this translation helpful? Give feedback.
-
It's expected that this type exist in this entrypoint but not intended that it appears as suggested in auto-imports. Would love to hide types from autocomplete if somebody can figure this out. Might have to remove that type ultimately since you're not supposed to manually use this type. |
Beta Was this translation helpful? Give feedback.
-
Since installing the React 18.3.0 types, IntelliSense in VS Code has been suggesting I import
Fragment
fromreact/jsx-runtime
rather thanreact
. Looking at the diff, it seems this change #68600 might be related. Is this expected?Beta Was this translation helpful? Give feedback.
All reactions