Premium Only Content

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.
-
15:10
SB Mowing
1 month agoShe had TEARS OF JOY on her face - An update on Beth
8.34K31 -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
194 watching -
LIVE
Nikko Ortiz
2 hours agoLIVE - Trying Rumble Studio!
207 watching -
9:30
Sugar Spun Run
5 hours agoBlack and White Cookies
31K1 -
2:45
SLS - Street League Skateboarding
4 days agoManny Santiago's 'THIS IS 40' Part
18.3K2 -
6:40
Homesteading Family
5 days agoNever Make Pie Crust From Scratch Again (Do THIS Instead)
14.2K2 -
44:20
Melissa K Norris
3 days ago $0.30 earnedThe Most Overlooked Way to Preserve Food for Months (No Freezer Needed) w/ Sam Knapp
10K1 -
23:00
Tony Jeffries
6 days agoThe Best & Worst Boxing Training Methods (Ranked by Olympic Boxer)
7.06K -
44:44
Scammer Payback
17 days agoCrazy Confrontation with Hacked Scammer Group
34K20 -
1:15:13
Steven Crowder
3 hours agoIt Isn't Both Sides: They Crossed The Rubicon When They Killed Charlie
348K315