All notable changes to the "react-typescript-boilerplate" extension will be documented in this file.
- Fix syntax error and eslint warnings on
type
snippet variants
- Add
timport
snippet for importing React, useState and useEffect - Change snippet titles for more clarity and consistency
- Add variants of
treactprops
,treactstate
andtcontext
with type instead of interface - Change double quotes to single quotes for style consistency
- Add newline to end of
treact
,treactprops
,treactstate
andtcontext
to enforce a common best-practice tstate
andteffect
will now go to end of function names for quicker importing with "Quick Fix..."
- Add memoized React Context with Provider snippet for JS/TS
- Minor bugfix
- Add
useEffect
hook snippet - Add snippets for Styled Components JSX elements
- Add support for boilerplate in vanilla JS for both
.jsx
and.js
files - Add
tstate
snippet for generating useState-boilerplate
- Change stateless and prop snippet to respect user's tab/space preferences
- Add logo, metadata, better readme and demo gif
- Initial release
- Initial selection of three snippets from personal preference