Create React Component for VS Code

Create React Component

Create React Component for VS Code

Installation

Visual Studio Marketplace

Paste the following command and press Enter:

ext install canducci.create-reactjs-components

Supported languages (file extensions)

  • JavaScript (.js)
  • JavaScript React (.jsx)
  • Javascript Typescript (.tsx)

Usage

In the Context Menu choose:

  • React Arrow Function Component (js)
  • React Arrow Function Component (jsx)
  • React Arrow Function Component (tsx)
  • React Arrow Function Context (js)
  • React Arrow Function Context (jsx)
  • React Arrow Function Context (tsx)
  • React Function Component (js)
  • React Function Component (jsx)
  • React Function Component (tsx)
  • React Function Context (js)
  • React Function Context (jsx)
  • React Function Context (tsx)

where a component is created in the “components” folder

Menu:

Image

Example:

Gif

Download Details:

Author: fulviocanducci

Demo: https://marketplace.visualstudio.com/items?itemName=canducci.create-reactjs-components

Source Code: https://github.com/fulviocanducci/create-reactjs-components

#reactjs #react #javascript

Create React Component for VS Code
20.80 GEEK