I hereby claim:
- I am arinthros on github.
- I am arinthros (https://keybase.io/arinthros) on keybase.
- I have a public key ASBxUxy-3sWKiamVTQ_DOckQBIosKxX9xdR-Yy5cOOWQoAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Place in the snippets folder of vscode | |
{ | |
// shortcode: impc | |
// Creates an empty React function component with a common set of items, like imports and proptypes | |
// Tab stop 1 is the function name | |
// Tab stop 2 is for props | |
"Create empty component": { | |
"scope": "javascript", |
{ | |
"terminal.integrated.rendererType": "dom", | |
"emmet.includeLanguages": { | |
"erb": "html", | |
"ruby": "html", | |
"html.erb": "html", | |
"javascript": "javascriptreact", | |
"marko": "html" | |
}, | |
"emmet.triggerExpansionOnTab": true, |
[ | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.8" |
/** | |
* Requires jsdoc and jsdoc-to-markdown | |
*/ | |
/* eslint-disable no-console */ | |
const fs = require('fs') | |
const path = require('path') | |
const glob = require('glob') | |
const { execSync } = require('child_process') | |
const jsdoc2md = require('jsdoc-to-markdown') |
import React from 'react' | |
import { useRouteMatch } from 'react-router-dom' | |
import { statusTypes } from '@youversion/react' // Helper object for status enums 'pending', 'idle', 'resolved', 'rejected' | |
import { getThing } from './api-methods' | |
function MyComponent() { | |
const { path } = useRouteMatch() | |
const [loadingStatus, setLoadingStatus] = React.useState(statusTypes.PENDING) | |
const [data, setData] = React.useState() |
import { Route, Routes } from 'react-router-dom' | |
function AppRoutes() { | |
return ( | |
<Routes> | |
<Route index={true} element={<Home />} /> | |
<Route path="settings" element={<Settings />}> | |
<Route path="people" element={<PeopleSettings />}> | |
<Route path=":userId" element={<PersonSettings />} /> | |
</Route> |
.yarn/patches
folder.resolutions
of package.json.