What is create-component-appĀ ?
How much time do you spend copying and pasting the component folder to create a new oneĀ ? Or you create your own snippet on your editorĀ ?
create-component-app is a tool to generate different types of React components from the terminal (or from the editor) that helps you to save a lot of time and prevents errors caused by copy and paste.
With a lot of options you can easily create your React components very fast!
- Create your components guided from terminal with a lot of choices
- You can create a configuration file in your current project directory
- You can also pass a configuration file from params
- You can use your own custom templates
- and nowā¦You can use templates from the community š
Why a medium articleĀ ?
Because we notice that every team has a different way to create React components and the tool canāt help everybody.But now, the community can contribute with sharing their own React component templates! #34In this way every single guy in the React community can use a different way to create a component.
How can I share my templates in 3 stepsĀ ?
- Fork the project
- Create your template folder in the templates folder
- Create your template
Feedbacks areĀ welcome!
I think that the most important thing in the world is to receive feedback on what we are doing.Iām very happy to help the community to improve our environment and it would be great receive feedback on this, or receive a lot of contributions!
If you like the tools share it with your team and click on āļøĀ Have fun codingĀ !
Logo by: Alessandro Mazzola