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

RFC: Future Enhancements for create-client #381

Open
J3m5 opened this issue Mar 29, 2024 · 0 comments
Open

RFC: Future Enhancements for create-client #381

J3m5 opened this issue Mar 29, 2024 · 0 comments
Assignees

Comments

@J3m5
Copy link

J3m5 commented Mar 29, 2024

This thread is for brainstorming and prioritizing future enhancements for create-client.
We're looking to the community to help refine this roadmap, suggesting new ideas, recommending removals, or reshuffling priorities.
Below is an initial list of proposed changes, open for discussion and adjustment.

Project

  • Document UX/UI: Create detailed UX and UI design documentation.
  • Switch to PNPM: Transition from yarn to pnpm (comparison, benchmarks).

Templates

  • Standardize UX/UI: Ensure a consistent user experience and interface across all apps.
  • Integrate Tanstack Query Across Templates: Implement Tanstack Query as the primary data fetching and state management solution in all applicable templates.
  • Configurable Mercure Integration #179: Provide an option to disable Mercure integration within templates, offering flexibility for projects not requiring real-time capabilities.

Generators

  • Use TypeScript for all generators #335: Migrate code generators to TypeScript, removing Babel from the build process.
  • Standardize Generated Contexts Across Application Generators: Ensure consistency in the contexts produced by different application generators.
  • Support Authentication #172: Enable generators to incorporate authentication mechanisms, allowing the creation of secure applications by integrating common authentication workflows.

React

Next.js

  • Enable SSR Resource Generation: Support generating resources in Server-Side Rendering (SSR) mode by utilizing getServerSideProps in place of getStaticProps.

Testing

  • Adopt Vitest: Replace Jest with Vitest for faster testing (details).
  • **Local Testing **: Improve local testing by facilitating API mocking in both SPA and SSR modes, ensuring ISR builds are also comprehensively supported.
  • Leverage API Documentation for Dynamic Test Assertions: Utilize API documentation as a source of truth for test assertions, enhancing test resilience against changes in API resources or properties.

CLI

  • Support for Multiple Resources: Introduce the ability to specify multiple resources as CLI options, enabling variadic arguments.
  • Dedicated Flag for Custom Templates: Introduce a new flag, separate from the existing "generator" flag used for named generators like Next, Nuxt, Vue, etc., to explicitly define custom generator template path, ensuring clear separation and easier code handling.

Feedback and contributions on these ideas are highly encouraged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants