From 59c2d3502259b338c36991ced8dc25d8dc9713b1 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 20 Jun 2026 20:00:35 +0530 Subject: Added first react sample project --- react/01-helloworld-js/js/helloworld.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 react/01-helloworld-js/js/helloworld.js (limited to 'react/01-helloworld-js/js/helloworld.js') diff --git a/react/01-helloworld-js/js/helloworld.js b/react/01-helloworld-js/js/helloworld.js new file mode 100644 index 0000000..313042c --- /dev/null +++ b/react/01-helloworld-js/js/helloworld.js @@ -0,0 +1,6 @@ +'use strict'; + +ReactDOM.render( + React.createElement('h1', {}, 'Hello World!'), + document.getElementById('root') +); \ No newline at end of file -- cgit v1.2.3