React, Redux and Jest snippets for JavaScript and TypeScript in VS Code
open sourceMITfree
A Visual Studio Code extension by Nai You-Ran with short code snippets for React, Redux and Jest in JavaScript and TypeScript files (.js, .jsx, .ts and .tsx): rfc for a function component, rcc for a class component, imp for an import, clg for console.log and many more. Settings control whether components import React at the top, end lines with a semicolon and include TypeScript prop types. MIT licensed.
Problems it solves
- I type the same React component boilerplate every time I make a new file
- quick shortcuts for useState and useEffect in VS Code
- write Jest test skeletons faster
Features
- snippets for React function and class components, hooks and lifecycle methods
- Redux and Jest snippets
- works in .js, .jsx, .ts and .tsx files
- options for the React import, semicolons and TypeScript props typing
