JavaScript Next Snippets
The last Javascript 2017 & React Sublime snippets package you will ever need.
Details
Installs
- Total 25K
- Win 17K
- Mac 4K
- Linux 4K
Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 2 | 1 | 0 | 0 | 0 | 2 | 1 | 1 | 4 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 2 | 1 | 0 | 2 | 1 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Javascript Next Snippets
The last Javascript 2017 & React snippets package you will ever need.
Installation
Since package control is still pending to accept this package, you'll have to install manually.
git clone https://github.com/AlexKvazos/javascript-next-snippets ~/Library/Application Support/Sublime Text 3/Packages/javascript-next-snippets
Available Snippets
Javascrpt
Trigger | Snippet |
---|---|
log→ | console.log() |
info→ | console.info() |
warn→ | console.warn() |
error→ | console.error() |
table→ | console.table() |
alert→ | alert() |
confirm→ | confirm() |
prompt→ | prompt() |
setTimeout→ | setTimeout() |
setInterval→ | setInterval() |
addEventListener→ | addEventListener() |
arr→ | let array = [] |
obj→ | let object = {} |
tern→ | condition ? () : () |
React
Trigger | Snippet |
---|---|
_rcc→ | React Class Component |
_rfc→ | React Functional Component |
_cwm→ | componentWillMount() |
_cwu→ | componentWillUpdate() |
_cwun→ | componentWillUnmount() |
_cdm→ | componentDidMount() |
_cdu→ | componentDidUpdate() |
_cwr→ | componentWillReceiveProps() |
_scu→ | shouldComponentUpdate() |
setState→ | setState() |