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

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