I didn't know about the first two approaches.
Yeah third is definitely the best
I use that approach to run a Deno React project using dev.jspm.io for the packages
github.com/MichaelCurrin/react-den...
And that includes a pinned URL for safety.
Additionally, the importing by URL is built into browsers if you do script tag
<script type="module"> import ReactDOM from "https://dev.jspm.io/react-dom@17.0"; import React from "https://dev.jspm.io/react@17.0"; React.useEffect() </script>
That is demonstrated here in my React app that uses no Deno or Node. Just a frontend
github.com/MichaelCurrin/react-fro...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I didn't know about the first two approaches.
Yeah third is definitely the best
I use that approach to run a Deno React project using dev.jspm.io for the packages
github.com/MichaelCurrin/react-den...
And that includes a pinned URL for safety.
Additionally, the importing by URL is built into browsers if you do script tag
That is demonstrated here in my React app that uses no Deno or Node. Just a frontend
github.com/MichaelCurrin/react-fro...