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

Java​Script Next Snippets

by AlexKvazos ST2/ST3

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

Details

  • 1.2.0
  • github.​com
  • github.​com
  • 9 months ago
  • 30 minutes ago
  • 9 months ago

Installs

  • Total 9K
  • Win 6K
  • OS X 2K
  • Linux 1K
Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4
Windows 1 9 15 10 9 10 19 16 13 7 13 12 22 21 8 7 14 17 14 17 13 11 10 13 20 14 23 15 11 9 16 20 25 24 14 14 12 21 19 26 23 15 17 17 23 30
OS X 1 0 6 3 2 4 2 3 0 6 4 3 4 1 7 2 4 2 1 1 2 4 4 2 5 2 4 2 3 1 7 6 4 3 6 1 6 8 2 4 8 5 0 2 2 2
Linux 0 5 5 2 2 4 2 1 0 3 2 4 1 2 1 0 0 1 3 8 4 3 4 6 3 3 7 5 3 3 2 4 4 1 2 1 3 3 6 4 3 3 0 3 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()