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

Java​Script Next Snippets

by AlexKvazos ALL

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

Details

Installs

  • Total 20K
  • Win 14K
  • Mac 3K
  • Linux 3K
Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 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
Windows 6 4 5 4 10 6 5 9 8 10 3 6 4 7 5 13 9 5 4 6 7 4 6 8 8 17 10 5 6 3 3 6 6 5 4 4 3 6 11 9 6 8 4 6 4 9
Mac 1 1 1 2 0 2 0 0 2 1 0 1 3 0 1 1 0 3 0 0 0 1 0 3 1 0 2 0 1 0 1 0 1 1 0 1 1 2 2 0 0 1 1 1 0 2
Linux 0 2 0 2 0 0 2 2 0 2 2 0 2 2 2 3 0 0 0 0 2 0 0 2 0 0 2 0 1 1 1 3 1 0 1 1 0 2 2 1 2 0 2 0 3 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()