DEV Community

Anna BELK
Anna BELK

Posted on

Where to obtain <script> tags for latest react from official site?

I'm looking for the official tags at react.dev. Previously I was using <script<br> src="https://unpkg.com/react@18/umd/react.production.min.js"<br> crossorigin<br> >
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"<br> crossorigin<br> >
I need the location of the min and -unmin for the latest version. Thanks,

Top comments (2)

Collapse
 
ladyofla profile image
Anna BELK

Thanks for your response. No this works. I just do not know where to obtain the links for whatever version I want on the react website. And I do not know the links for the non-min versions. Something like this shouldn't be hard to find. Bootstrap and other sites have links that are easy to find. I simply do not know how to navigate the react website.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

Is unpkg.com unable to give it to you? What makes you think that you must switch?