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
photoInvoice: { | |
1: null, | |
2: null, | |
3: null, | |
4: null, | |
5: null, | |
6: null, | |
7: null, | |
8: null, | |
9: null, |
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
// thanks to Kyle Shevlin (https://twitter.com/kyleshevlin) | |
const videos = [...document.querySelectorAll('video')] | |
videos.forEach(video => {video.playbackRate = 1.5}) |
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 React, { Component } from 'react' | |
/* | |
STEP 1: Create the new Context | |
- starts with capital letter | |
- can (optionally) pass in default context values to the .createContext() call | |
*/ | |
const CurrentUserContext = React.createContext() | |
/* |