ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Java​Script Next Snippets

by AlexKvazos ST2/ST3

The last Javascript 2017 & React Sublime snippets package you will ever need.

Details

Installs

  • Total 12K
  • Win 8K
  • OS X 2K
  • Linux 2K
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 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3
Windows 3 20 22 15 17 4 11 9 13 19 17 16 6 12 18 14 17 16 22 11 11 24 16 21 23 23 12 11 22 27 38 43 17 10 8 11 13 8 24 17 14 10 23 15 11 19
OS X 0 4 0 2 4 1 2 6 7 2 6 4 1 0 4 2 4 3 7 3 2 3 7 5 5 5 3 1 2 7 5 4 1 3 2 1 5 2 5 1 0 1 4 2 1 5
Linux 2 6 2 3 5 2 2 1 4 4 0 1 2 2 2 1 2 5 5 2 3 3 6 3 4 4 4 2 3 3 7 12 7 2 4 5 3 8 4 1 3 4 0 2 4 1

Readme

Source
raw.​githubusercontent.​com

Javascript Next Snippets

The last Javascript 2017 & React snippets package you will ever need.

Sample GIF

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()