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 22K
  • Win 16K
  • Mac 3K
  • Linux 3K
Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 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
Windows 3 6 5 1 0 5 3 1 1 2 4 6 5 6 3 3 2 6 5 5 3 2 1 5 5 3 1 4 4 4 2 1 4 3 4 1 5 2 5 3 2 5 5 9 3 3
Mac 0 2 0 0 1 1 2 1 0 1 1 0 0 0 0 0 0 1 1 0 1 0 0 0 1 0 2 1 0 0 2 0 0 0 0 0 2 0 1 2 1 0 1 0 1 1
Linux 0 1 2 1 1 2 1 0 0 1 1 0 1 2 1 0 2 0 2 1 0 0 1 2 1 0 0 1 0 0 0 2 1 1 2 0 1 1 0 0 0 0 0 0 2 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()