-
-
Save anil-sidhu/f53b806c4ab7c27300d3025022723692 to your computer and use it in GitHub Desktop.
React js code without NPM
This file contains 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
<html> | |
<head> | |
<title>React App</title> | |
<script src="https://unpkg.com/react@16/umd/react.production.min.js"></script> | |
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script> | |
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script> | |
</head> | |
<body> | |
<div id="mydiv"> | |
</div> | |
<script type="text/babel"> | |
function Test() | |
{ | |
const bla=()=>{alert("Hello React")} | |
return <button onClick={bla}>Click Me</button> | |
} | |
class Hello extends React.Component{ | |
render() | |
{ | |
return <div>Hello React code <Test /></div> | |
} | |
} | |
ReactDOM.render(<Hello />,document.getElementById('mydiv')) | |
</script> | |
</body> | |
</html> |
sir thank you, i want to become famous by making a private search engine
Thank You !!!!
tq
thanks
Thanku Sir 🤍
thank you brother! Its amazing nd learned new thing < -
>....
Love You Sir
thanks, bro It is really helpful God bless you
thank you bhai
Thanks
thanks youu!!
t is really helpful, thank you bhai !!!!
Thank you sir
Thank you sir
Great work !
thanks sir
Thank You Sir
Aoa great learning, thanks sir.
I learnt javascript and from today I started learning react from your tutorials.
Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
superbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbthank youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu