Skip to content

Improved and refactored everything#22

Merged
spietras merged 1 commit into
mainfrom
refactor
Nov 21, 2025
Merged

Improved and refactored everything#22
spietras merged 1 commit into
mainfrom
refactor

Conversation

@spietras

Copy link
Copy Markdown
Member

Closes #10
Closes #13
Closes #14
Closes #15
Closes #17
Closes #18
Closes #19
Closes #20
Closes #21

@spietras spietras requested a review from Copilot November 21, 2025 21:19
@spietras spietras self-assigned this Nov 21, 2025
@spietras spietras added cleanup Stay fresh feature New feature or request labels Nov 21, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR represents a comprehensive refactoring and modernization of the Next.js template, focusing on improved architecture, new features, and better developer experience.

Key Changes:

  • Migrated to Next.js 15 and React 19 with updated ecosystem dependencies
  • Introduced backend-for-frontend pattern using oRPC for API handling
  • Replaced Zustand with Valtio for state management and added TanStack Query for data fetching
  • Restructured project organization with isomorphic, client, server, and common directories

Reviewed changes

Copilot reviewed 292 out of 402 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/src/server/config/schemas.ts.jinja Defines configuration schemas using Zod for server-side config validation
src/src/isomorphic/theme/components/theme-provider/main.tsx New theme provider supporting dynamic colors, localization-aware date formatting
src/src/isomorphic/state/hooks/use-global-state/main.ts Implements global state management using Valtio with subscription support
src/src/isomorphic/localization/components/localization-provider/main.tsx Provides localization context with Lingui integration
src/src/common/query/lib/create-query-client/main.ts Creates TanStack Query client with custom serialization and dehydration
src/src/common/orpc/vars/router/main.ts Defines oRPC contract router for backend-for-frontend API
src/src/client/test/components/test/test-widget/main.tsx Example widget demonstrating form handling with oRPC integration
src/src/app/(root)/layout.tsx.jinja Root layout with provider composition and metadata generation
src/next.config.ts Updated Next.js configuration with webpack customizations and optimizations
src/package.json.jinja Updated dependencies to latest versions including new libraries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/src/server/config/schemas.ts.jinja
Comment thread src/src/server/config/schemas.ts.jinja
Comment thread src/src/isomorphic/core/hooks/use-form/utils.ts
Comment thread src/src/common/core/components/generic/main-layout/main.tsx
Comment thread src/src/common/core/components/generic/safe-main-layout/styles.module.css Outdated
Comment thread src/src/common/core/components/generic/safe-main-layout/main.tsx Outdated
Comment thread src/src/common/core/components/generic/main-layout/main.tsx Outdated
@spietras spietras merged commit 0388d97 into main Nov 21, 2025
2 checks passed
@spietras spietras deleted the refactor branch November 21, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Stay fresh feature New feature or request

Projects

None yet

2 participants