You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But after opening the second import (/v135/@radix-ui/react-compose-refs@1.1.1/es2022/react-compose-refs.mjs) I can see it uses React 19
/* esm.sh - esbuild bundle(@radix-ui/react-compose-refs@1.1.1) es2022 production */import*asffrom"/stable/react@19.0.0/es2022/react.mjs";functionl(n,o){if(typeofn=="function")returnn(o);n!=null&&(n.current=o)}functioni(...n){returno=>{letu=!1,c=n.map(t=>{lete=l(t,o);return!u&&typeofe=="function"&&(u=!0),e});if(u)return()=>{for(lett=0;t<c.length;t++){lete=c[t];typeofe=="function"?e():l(n[t],null)}}}}functions(...n){returnf.useCallback(i(...n),n)}export{iascomposeRefs,sasuseComposedRefs};//# sourceMappingURL=react-compose-refs.mjs.map
Interestingly the latest export (/v135/@radix-ui/react-slot@1.1.1/es2022/react-slot.mjs) does keep my configuration and with deps=react@18.3.1 the path is different. (/v135/@radix-ui/react-slot@1.1.1/X-ZC9yZWFjdEAxOC4zLjE/es2022/react-slot.mjs) and it does import React 18 correctly.
The text was updated successfully, but these errors were encountered:
I have the following script, with React 19 as dependency:
https://esm.sh/@radix-ui/react-slot@1.1.1
I can configure it to use React 18 using the
deps
variable:https://esm.sh/@radix-ui/react-slot@1.1.1?deps=react@18.3.1
But after opening the second import (
/v135/@radix-ui/react-compose-refs@1.1.1/es2022/react-compose-refs.mjs
) I can see it uses React 19Interestingly the latest export (
/v135/@radix-ui/react-slot@1.1.1/es2022/react-slot.mjs
) does keep my configuration and withdeps=react@18.3.1
the path is different. (/v135/@radix-ui/react-slot@1.1.1/X-ZC9yZWFjdEAxOC4zLjE/es2022/react-slot.mjs
) and it does import React 18 correctly.The text was updated successfully, but these errors were encountered: