dsc-react-tools

Tools to work with react

Discontinuity-srl

237

1

0.6.0

MIT

GitHub

This package consumes the following services:

dsc-react-tools Atom package

An opinionated package to help with React Development.

Features

Create

Creates a new React component in the directory of the currently selected file or in the selected directory.

Usage

Select a file or a folder in the Atom Editor or in the Atom Tree View. The path of the selected element will be used as the directory where to create the new element.

Chose the Dsc React Tools: Create command from the Atom Command Palette or use cmd-alt-ctrl-c shortcut. Insert the name of the new component.

Features

Rename

Renames the selcted component and renames the references in the other files of the project.

Usage

Select the file of the element to Rename in the Atom Editor or in the Atom Tree View. The path of the selected element will be used as the directory where to create the new element.

Chose the Dsc React Tools: Rename command from the Atom Command Palette or use cmd-alt-ctrl-r shortcut. Insert the new name of the component.

Warning this command performs a naive case sensitive search and replace among all the files of your project therefore the component name should be unique. It is strongly reccomended, to have a backup mechanism in place.

Features

LICENSE

Available under the MIT license.