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

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