An opinionated package to help with React Development.
Creates a new React component in the directory of the currently selected file or in the selected directory.
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.
Dsc React Tools: Create command from the Atom Command Palette or use
cmd-alt-ctrl-c shortcut. Insert the name of the new component.
Renames the selcted component and renames the references in the other files of the project.
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.
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.
srcfolder above the
package.jsonfile if one is present.
Available under the MIT license.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.