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