@trapar-waves/react-tanstack
August 16, 2026 · View on GitHub
中文 | 日本語 | Русский язык
A production-ready React template optimized for building modern web applications with the TanStack ecosystem. Provides a complete foundation including state management, routing, data fetching, and build optimization out of the box.
- Modern React Architecture: Built with React 19.x for component-driven development.
- Comprehensive State Management: Server state via @tanstack/react-query for caching, background updates, and data synchronization.
- Advanced Routing: @tanstack/react-router for type-safe client-side navigation with nested route support.
- Optimized Styling: Tailwind CSS for utility-first styling with minimal configuration.
- Type Safety: Full TypeScript integration throughout the codebase.
- Performance Optimization: Built-in code splitting and lazy loading; optimized bundle size with Rsbuild.
- Developer Experience: Fast refresh during development.
- CI/CD Ready: GitHub Actions workflow for automated testing and releases.
- Internationalization: Structure for multi-language support.
- Production-Ready: Optimized build process and best practices implementation.
- Framework: React 19.x
- Type System: TypeScript 5.x
- State Management:
@tanstack/react-query - Routing:
@tanstack/react-router - Styling: Tailwind CSS
- Build Tool: Rsbuild
- Linting: ESLint with
@antfu/eslint-config - Package Manager: pnpm
See the package.json for a full list of dependencies.
Prerequisites
- Node.js (>= 18.x recommended)
- Package manager (npm, yarn, or pnpm)
Installation
-
Create a new project using the template:
pnpm create trapar-waves -
Navigate to your project directory and install dependencies:
pnpm install -
Start the development server:
pnpm dev
├── public/ # Static assets
├── src/ # Source code
│ ├── routes/ # File-based route definitions
│ │ └── __root.tsx # Root layout component
│ ├── global.css # Global styles and Tailwind imports
│ ├── index.tsx # Entry point
│ ├── router.ts # Router configuration
│ ├── routeTree.gen.ts # Auto-generated route tree
│ └── env.d.ts # Environment type declarations
├── rsbuild.config.ts # Rsbuild configuration
├── tsconfig.json # TypeScript configuration
├── eslint.config.js # ESLint configuration
└── package.json # Project dependencies and scripts
Contributions are welcome and greatly appreciated! Please follow these steps to contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License © 2025 Trapar Waves
👤 Author
- Rikka: admin@rikka.cc
- GitHub Profile: Muromi-Rikka