Introduction to React.js and JSX
A lesson for beginners that introduces the library React.js that is used to build user interfaces (UI). It's part of frontend development in the browser, although learning the way of writing React can also translate to other platforms such as mobile with React Native and virtual reality with React VR.
CodeSandbox is leveraged as the development environment, although other web-based alternatives are also available. You can also develop locally, generating the project with a tool like create-react-app.
Writing an HTML-like pattern within JavaScript is also introduced. JSX transpilation is briefly explained using the Babel website's Try it out feature.
The lesson goes on teaching how to change the view that is rendered by the React component. You learn to return multiple things from a component function using a Fragment.
Finally, you briefly see, using the browser Developer Tools (DevTools for short), how the React.js application is injected in a lone, empty div element whose id is root.
-
1:07:48
Donald Trump Jr.
8 hours agoSpeak Up America, Interview with Comedian Rob Schneider | TRIGGERED Ep.180
71.5K105 -
LIVE
Tundra Gaming Live
9 hours agoThe Worlds Worst Horror Streamer Plays Diablo 4 Vessel of Hatered
261 watching -
LIVE
Patriots With Grit
3 hours agoMicro Schools: Rescuing Kids From Woke Education | David Hazel
195 watching -
1:33:19
Sticker Mule
3 hours agoTrump Sign Lighting Party
15.8K4 -
2:28:15
WeAreChange
3 hours agoBOOM: Musk Names Bill Gates In EPSTEIN DOCS Convo! W/ Gen. Mike Flynn
30.5K22 -
LIVE
2 MIKES LIVE
2 hours ago2 MIKES LIVE #126 Deep Dive Monday!
251 watching -
1:09:46
Sarah Westall
3 hours agoHow the Cabal shuts down access to cures for AIDS, the Flu and other diseases w/ Dr. Fernandez
4.68K1 -
LIVE
VOPUSARADIO
1 day agoThe Dan Smeriglio Show: Live Interview With Michele Swinick "Exposing Real Election Fraud"!
206 watching -
1:11:45
Kimberly Guilfoyle
8 hours agoAs I was Saying: President Trump’s Triumphant Return to Butler
37.7K14 -
1:25:24
Redacted News
5 hours agoEMERGENCY! MASSIVE HURRICANE MILTON HEADING TO FLORIDA, NORTH CAROLINA RECOVERY | Redacted
112K425