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 15K
  • Mac 3K
  • Linux 3K
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 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1
Windows 0 5 5 8 5 6 3 0 3 3 2 3 6 2 4 4 7 2 7 5 5 4 3 3 5 8 3 7 4 3 3 8 2 6 5 2 5 2 5 6 5 5 1 3 5 2
Mac 0 0 1 1 2 0 2 0 2 1 0 0 1 1 0 0 0 1 3 0 1 0 0 0 0 0 1 0 1 1 1 1 0 2 1 0 1 0 0 1 1 0 0 0 2 0
Linux 0 1 1 0 1 0 0 0 1 0 0 0 1 0 1 2 0 4 1 2 1 0 2 1 0 1 0 2 0 0 0 3 0 0 1 1 0 1 0 1 1 0 3 2 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()