git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
var url = "Hello World"; | |
var data = []; | |
for (var i = 0; i < url.length; i++){ | |
data.push(url.charCodeAt(i)); | |
} |
/* | |
Template literals for-loop example | |
Using `Array(5).join(0).split(0)`, we create an empty array | |
with 5 items which we can iterate through using `.map()` | |
*/ | |
var element = document.createElement('div') | |
element.innerHTML = ` | |
<h1>This element is looping</h1> | |
${Array(5).join(0).split(0).map((item, i) => ` |
First download the new old icon: https://cl.ly/mzTc (based on this)
You can also use the icon you want, but you need to convert it to .icns
. You can use this service to convert PNG to ICNS.
Go to Applications
and find VSCode
, right click there and choose Get Info
. Drag 'n drop the new icon.
graphql-react
options guideThis is a guide to the cache related options for the useGraphQL
React hook. The reloadOnLoad
and resetOnLoad
options also apply to the GraphQL
instance method operate
.
The defaults are suitable for typical query use, as apps tend to have more queries than mutations.
loadOnMount |
loadOnReload |
loadOnReset |
reloadOnLoad |
resetOnLoad |
---|