Skip to content

Latest commit

 

History

History
149 lines (80 loc) · 2.18 KB

CHANGELOG.md

File metadata and controls

149 lines (80 loc) · 2.18 KB

Change Log

All notable changes to the "useful-react-snippets" extension, below versioned.

[1.0.0]

Added

  • All regular features
  • Lifecycles snippets

[1.0.1]

Changed

  • Minor change on README.md

[1.0.2]/[1.0.3]/[1.0.4]

Added

  • Added ShouldComponentUpdate lifecycle

[1.0.5]

Changed

  • Fixed bugs on lifecycle syntax
  • Changed the 'author' structure on package.json

[1.0.6]/[1.0.7]/[1.0.8]

Added

  • More information on package.json (keywords and badges)
  • Support to .jsx (javascriptreact.json)

Changed

  • Included a line after import on stateless component creation
  • More information on README.md (badges)

[1.0.9]

Changed

  • Fixed some syntax bugs on imports snippets
  • Add braces scope to stateless function creation

[1.1.0]

Added

  • React native component creation

[1.1.1]

Added

  • React native component documentation

[1.1.2]

Changed

  • Snippets syntax typo
  • Details on reducer return (reducer and duck)

[1.2.0]

Added

  • PropTypes declarations

[1.2.1]

Added

  • Documentation related to propTypes declarations

[1.2.2]

Changed

  • Changed console.log(); to become unique with vscode Intellisense default

[1.2.3]

Added

  • Console error
  • Console warning

[1.3.0]

Added

  • Map state to props function
  • Map dispatch to props variable

[1.4.3]

Changed

  • On duck snippet, I removed the unused trailining comma after the function declaration

[1.4.4]

Added

  • Snippet high order function

[1.5]

Added

  • Support for typescript (.ts and .tsx files)

[1.5.1] to [1.5.4]

Changed

  • Basic warning comment for deprecated React lifecycles

Added

  • New lifecycles which comes from 16.3+ version

Removed

  • Awkward hoc snippet that I made in past. Which is basically the same as the hof snippet. Now, hoc returns exactly what the hof snippet was returning previously

[2.0.0]

Changed

  • Some already existant snippets were polished

Added

  • Specific snippets for typescript, adding types and interfaces
  • hookst snippet. Basically the useState() hook

[2.1.0]

Added

  • getDerivedStateFromError lifecycle
  • componentDidCatch lifecycle