-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
|
||
<script src="https://unpkg.com/[email protected]/browser.min.js"> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"> | ||
// Now we will use JSX, which needs to be converted to JavaScript. | ||
// For this we will use Babel. Babel is normally used to convert ES2015 to ES5, but | ||
// it also can convert JSX to ES5. Babels browser version uses text/babel script tags. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id='app'></div> | ||
<div id="app"></div> | ||
|
||
<script type="text/babel"> | ||
|
||
|
@@ -27,7 +27,7 @@ | |
|
||
} catch(e) {} | ||
|
||
// Second, React converts all events, these elements trigger, to | ||
// Second, React converts all events these elements trigger, to | ||
// synthetic events. This is often not a problem, they are simply events. | ||
// But you can't trigger your own. | ||
// So even if your <Input> component accepts a onClick callback as property | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<div id="app"></div> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<script src="https://unpkg.com/[email protected]/min/moment.min.js"> | ||
// Most of the time we have to use third party libraries | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
<script src="https://unpkg.com/[email protected]/dist/react.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script> | ||
<script src="https://unpkg.com/[email protected]/browser.min.js"></script> | ||
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> | ||
|
||
<script src="https://unpkg.com/[email protected]/build/d3.min.js"> | ||
// Sometimes we need to integrate more complex | ||
|