A React-based project leveraging TanStack's tools for state management, routing, and asynchronous data handling.
- Modern UI Framework: Built using React (v19.x) for a component-driven interface.
- Efficient State Management: Likely utilizes @tanstack/react-query for server state management, including caching, background updates, and data fetching.
- Client-Side Navigation: Implements client-side routing via @tanstack/react-router, offering seamless SPA navigation.
- Utility-First Styling: Employs Tailwind CSS for flexible, utility-first styling with minimal configuration.
- Type Safety: Leverages TypeScript to improve code quality and reduce runtime errors in both React components and application logic.
- Fast Development Workflow: Utilizes Rsbuild for optimized builds and quick development server starts.
- Developer Tools Integration: Includes @tanstack/react-query-devtools and @tanstack/react-router-devtools for debugging state and routing issues during development.
- Focus on Code Quality: Configures ESLint with plugins like @tanstack/eslint-plugin-query and @tanstack/eslint-plugin-router to enforce best practices for query and router usage.
Follow these instructions to get the project running locally.
- Ensure you have the following installed:
- Node.js (>= 18.x recommended)
- Package manager (npm, yarn, or pnpm)
node -v npm -v # or yarn -v or pnpm -v
- Clone the repository:
git clone https://github.com/Trapar-waves/react-tanstack.git cd react-tanstack
- Install dependencies:
# Use your preferred package manager npm install # or yarn install # or pnpm install
Common scripts available via npm run <script>
, yarn <script>
, or pnpm <script>
:
-
dev
: Starts the development server with automatic browser opening (rsbuild dev --open
). -
build
: Creates a production-ready build (rsbuild build
). -
preview
: Previews the production build locally (rsbuild preview
).
Example:
# Start development server
npm run dev
# Create production build
npm run build
Key technologies used in this project include:
- Framework/Library: React (v19.x)
- UI Toolkit/Styling: Tailwind CSS
- State Management: @tanstack/react-query
- Routing: @tanstack/react-router
- Build Tool: Rsbuild
- Language: TypeScript
See the package.json for a full list of dependencies.
Contributions are welcome!
Distributed under the MIT License. See LICENSE
file for more information.
- Rikka (GitHub Profile)
- Contact Email: admin@rikka.cc