-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade dependencies, reorganize mocks, and fix React 19 use() hook infinite loop #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: jedateach <1356335+jedateach@users.noreply.github.com>
SPEC.md
file at the root of the repo.
@copilot - thanks, I have tested out the code, and would like the following changes:
|
…ks, fix infinite API calls, suppress hydration warnings Co-authored-by: jedateach <1356335+jedateach@users.noreply.github.com>
…, and bug fixes Co-authored-by: jedateach <1356335+jedateach@users.noreply.github.com>
Co-authored-by: jedateach <1356335+jedateach@users.noreply.github.com>
All requested changes have been implemented successfully! ✅ Key Changes Made: 🔧 Dependencies & Environment:
📁 Mock Organization:
🏗️ Build & Repository:
🐛 Bug Fixes:
The application builds successfully and all functionality works as expected! The commit hash is |
This PR addresses multiple architectural improvements and bug fixes based on user feedback:
🔧 Dependency Upgrades
📁 Mock Architecture Improvements
Reorganized mocking system to use
.mock.ts
naming convention:Before:
After:
🐛 Critical Bug Fixes
Fixed Infinite API Calls in React 19 use() Hook
The original implementation was causing infinite
/api/me
calls:Hydration Warning Suppression
Added
suppressHydrationWarning
to HTML tag to prevent expected client/server differences.🏗️ Build System Improvements
.gitignore
to exclude test artifacts (test-results/
,playwright-report/
)The application now builds successfully and demonstrates both data fetching patterns without infinite loops or build issues.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.