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