Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
diegohaz opened this issue Jun 6, 2017 · 2 comments
Closed

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

diegohaz opened this issue Jun 6, 2017 · 2 comments

Comments

@diegohaz
Copy link

diegohaz commented Jun 6, 2017

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.

@gaearon
Copy link
Contributor

gaearon commented Jun 26, 2017

Happy to take a PR adding this to docs.

@gaearon
Copy link
Contributor

gaearon commented Jun 26, 2017

I'll close the issue as it's not actionable by us, but if you send a PR we'll take it. 👍

@gaearon gaearon closed this as completed Jun 26, 2017
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants