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
import "./App.css"; | |
function App() { | |
// const handleIt = (e: any, v: number) => { | |
// console.log(e, v) | |
// } | |
const handleIt = (v) => { | |
return (e) => { | |
console.log(e, v); |
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
/** | |
* Utils | |
* | |
* Provides utility and miscellaneous functionality. | |
*/ | |
import uuid from 'uuid/v4' | |
/** | |
* Generates a random integer between min and max inclusive. |
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
// https://youtu.be/D-JIYZhEqv8 | |
// The Async Features You’ve Been Awaiting - Yael Hermon | |
function foo() { | |
getSomeAsyncStuff() | |
.then(getSomeMoreAsyncStuff) | |
.then(getSomeMoreAsyncStuff) | |
.then(result=> console.log(result)) | |
.catch((err) => console.log(err);); | |
} |
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
<!DOCTYPE html> | |
<!-- this comment is a child of the document --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Nodelists Versus HTMLCollections</title> | |
<meta name="viewport" content="width=device-width" /> | |
<!-- This comment is a child element of the head element --> | |
</head> | |
<!-- this comment is a child of the html element --> |
NewerOlder