Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destinio/destinio-vscode
The then I use based on An Old Hope and snippets I use
https://github.com/destinio/destinio-vscode
vscode vscode-extension vscode-snippets vscode-theme
Last synced: 9 days ago
JSON representation
The then I use based on An Old Hope and snippets I use
- Host: GitHub
- URL: https://github.com/destinio/destinio-vscode
- Owner: destinio
- Created: 2020-09-10T21:21:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T15:18:17.000Z (over 1 year ago)
- Last Synced: 2025-01-20T13:19:38.908Z (12 days ago)
- Topics: vscode, vscode-extension, vscode-snippets, vscode-theme
- Homepage:
- Size: 468 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Snippets by Destinio
## Theme credit goes to [@DustinSanders](https://github.com/dustinsanders) I have made minor changes to his [An Old Hope](https://github.com/dustinsanders/an-old-hope-theme-vscode) theme
## javascript
|Prefix | Method|
|-:|:-|
|`cl→`|`console.log()`|
|`dcc→`|`console.log(CLIPBOARD)`|
|`con→`|`const $1 = $0`|## React
### `fcp` - Functional component with PorpTypes
```javascript
import React from 'react'
import PropTypes from 'prop-types'export default function FileName(props) {
return (
$0
)
}FileName.propTypes = {
}
```### `dri` - Index ReactDOM render
```javascript
import React from 'react'
import ReactDOM from 'react-dom'import 'index.css'
import App from './components/App'
ReactDOM.render(, document.getElementById('app'))
```### `dpt` - PropTypes block
```javascript
FileName.propTypes = {
$0
}
```### `due` - useEffect
```javascript
useEffect(() => {
$0
}, [])
```