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
Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 7 5 7 5 7 2 6 10 6 6 12 10 10 10 5 3 6 8 5 6 8 8 5 7 8 8 4 4 3 9 4 14 10 9 5 5 6 6 7 3 8 5 5 4 7 5
Mac 1 0 2 1 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 0 2 0 0 0 0 6 0 0 0 0 0 1 0 0 4 0 0 0 1 0 2 0 2 2 0
Linux 0 3 3 0 2 1 0 1 0 2 2 1 1 4 0 1 2 0 1 0 2 1 1 3 1 0 0 0 0 0 3 0 4 0 1 1 0 3 3 0 1 1 2 5 1 3

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