Created
October 28, 2018 04:48
React and Babel CDN links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- REACT LIBRARY --> | |
<script src="https://unpkg.com/react@15.5.4/dist/react.js"></script> | |
<!-- REACT DOM LIBRARY --> | |
<script src="https://unpkg.com/react-dom@15.5.4/dist/react-dom.js"></script> | |
<!-- BABEL LIBRARY --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.25.0/babel.min.js"></script> |
<script src="https://unpkg.com/react@18.2.0/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.min.js"></script>
<
<script type="text/babel">
class App extends React.component{
rende(){
return <h1>Hello World!</h1>
}
}
ReactDOM.render(<App/>,document.getElementById("root"))
</script>
[How to import js file in react using online CDN?
thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function App() {