Generact screenshot

Generact

Author Avatar Theme by Diegohaz
Updated: 8 Mar 2019
1476 Stars

Generate React components by replicating your own

Categories

Overview:

The content is discussing a tool called “generact” which is used for replicating components in React projects. The author explains their motivation for creating the tool and mentions that it works with popular boilerplates such as create-react-app and react-starter-kit. They also provide instructions for installation and usage of the tool.

Features:

  • Works with popular React boilerplates such as create-react-app, react-boilerplate, react-starter-kit, and ARc.
  • Can scan a specified directory for components to replicate.
  • Option to specify a different root path for finding components.
  • Ability to manually specify the path for a component to replicate.
  • Allows for contributions through pull requests.
  • Provides a watch mode for continuous coding.
  • Uses the MIT license.

Installation:

To install generact, you can use npm or yarn package manager. Here is the installation command:

npm install -g generact

or

yarn global add generact

Summary:

The content discusses a tool called generact, which is designed to automate the process of replicating components in React projects. It works with popular React boilerplates and allows for scanning a specified directory or manually specifying the path for components to replicate. The tool supports contributions and provides a watch mode for continuous coding. Generact is licensed under the MIT license.