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

[cli/template] Trouver un moyen d'intégrer hygen #140

Open
dbenfouzari opened this issue Dec 7, 2020 · 0 comments
Open

[cli/template] Trouver un moyen d'intégrer hygen #140

dbenfouzari opened this issue Dec 7, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dbenfouzari
Copy link
Contributor

Aujourd'hui je crée mes fichiers via des string templates.
Ce n'est ni joli à maintenir, ni personnalisable d'un projet à l'autre.

Au départ, c'est bien le but, que ce ne soit pas personnalisable. Un "composant" (dossier + fichiers) doit avoir une forme générique et homogène non pas sur un projet, mais sur tous les projets.

Cependant, si on voulait quelque chose de plus sur un projet, il faudrait modifier tous les fichiers générés via yarn derniercri generate:native-component à chaque fois.

hygen pourrait nous permettre de faire évoluer cela.

https://medium.com/better-programming/create-react-components-using-hygen-687be39a6913
https://github.com/jondot/hygen

@dbenfouzari dbenfouzari added the enhancement New feature or request label Dec 7, 2020
@dbenfouzari dbenfouzari self-assigned this Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant