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

Java​Script Next Snippets

by AlexKvazos ST2/ST3 Trending

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

Details

Installs

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

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