Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

RFC: Future Enhancements for create-client

Đang mở
#381 2 bình luận 0 reaction 3 người được giao Xem trên GitHub

@soyuka đang làm issue này rồi.

Từ ngày 29/3/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
  • #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.

Ngôn ngữ chính
TypeScript
Star
376
Fork
132
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của api-platform/create-client

Tất cả issue của api-platform/create-client

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.