Skip to content

Component generator (is it worth adding to docs?) #2482

@diegohaz

Description

@diegohaz

Hello, guys.

After some weeks talking with developers on Facebook, Twitter, Reddit and real life, I realized that most of them take common steps when creating new components in React:

facebook poll

So I wrote a lib to generate components based on that steps, following these principles:

  • just one command;
  • no configuration;
  • no templates;
  • no need to read docs at all;
  • follows user's conventions since generated components are based on the existing project's components.

The result is this: https://github.com/diegohaz/generact

generact

It addresses #1242 and #1886

Following instructions on https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#something-missing, I'm creating this issue to ask you guys if it worth mentioning in the docs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions