💡 Context
Our goal with react-isr-cli is to automate the repetitive work of creating file structures. Currently, we have standard templates for interfaces, services, and components, but the React ecosystem is huge!
We want to open this space for the community to suggest or contribute new templates that follow best practices and "Clean Architecture".
🎯 The Challenge
We are looking for proposals for new templates that can be generated via the rg command.
Some ideas to get started:
- 🎣 Custom Hooks: A standard structure for
use... hooks.
- 📁 Context API: A folder with
Context, Provider, and Reducer.
- 🧪 Unit Tests: Automatic generation of
.test.tsx or .spec.tsx files.
- 🎨 Styled Components / Tailwind: Templates that include styling boilerplate.
- 👔 Redux/Zustand Slices: Logic for state management.
🛠️ How to participate?
- Comment below: Tell us what template you would like to see and why it would be useful.
- Technical Proposal: If you can, provide a snippet of how the generated code should look.
- Contribute: If you want to code it yourself, let us know! We will guide you through the process of adding it to the
src/templates folder.
This is a good first issue! Don't be shy, every idea is welcome. Let's make React development faster together! 🚀
💡 Context
Our goal with react-isr-cli is to automate the repetitive work of creating file structures. Currently, we have standard templates for interfaces, services, and components, but the React ecosystem is huge!
We want to open this space for the community to suggest or contribute new templates that follow best practices and "Clean Architecture".
🎯 The Challenge
We are looking for proposals for new templates that can be generated via the
rgcommand.Some ideas to get started:
use...hooks.Context,Provider, andReducer..test.tsxor.spec.tsxfiles.🛠️ How to participate?
src/templatesfolder.This is a good first issue! Don't be shy, every idea is welcome. Let's make React development faster together! 🚀