Bluewoo HRMS

Frontend Stack

Next.js, React, and UI technologies

Frontend Stack

Required Versions

TechnologyVersionNotes
Next.js15.xApp Router with Server Components
React19.xLatest stable
react-hook-form7.x7.50.0+
Zod3.xLatest stable
Tailwind CSS3.4Utility-first styling
Shadcn/uiLatestRadix UI primitives

Architecture

  • Routing: Next.js App Router (file-system based)
  • Components: Shadcn/ui + Radix UI primitives
  • Styling: Tailwind CSS with dark mode support
  • Forms: react-hook-form + Zod validation

State Management

State TypeApproach
Server dataReact Server Components
Server state (async)TanStack Query v5
Client stateuseState, useReducer
URL stateFilters, pagination
PersistenceLocal storage for preferences

No Redux/Zustand - Server Components + TanStack Query cover most needs.

Data Visualization

Use CaseLibrary
Org ChartReact Flow
Charts/GraphsRecharts

Key Rules

  1. Use Zod 3.x - Stable, well-documented, excellent AI training data
  2. Server Components first - Use client components only when needed
  3. Strict TypeScript - noUncheckedIndexedAccess enabled

Specifics to be defined during implementation