Skip to content

Instantly share code, notes, and snippets.

View RyanJTalbot's full-sized avatar
:octocat:
coding

Ryan JT RyanJTalbot

:octocat:
coding
View GitHub Profile
@RyanJTalbot
RyanJTalbot / react-cheatsheet.md
Created December 22, 2020 18:28 — forked from delibytes/react-cheatsheet.md
React & JSX Cheatsheet

React & JSX Cheatsheet

Overview
JSX HTML <div>...</div>
JSX Component <Component property={javascript} />
<Component property='string' />
JSX Component with Children <Component>{children}</Component>
reference: props.children
Escaping JavaScript {...}
require statements const React = require('react');
const ReactDOM = require('react-dom');
npm modules react, react-dom