Skip to content

feat: modernize from Expo/RN to Vite + React 18 + TypeScript 5#25

Open
JesseRWeigel wants to merge 1 commit intomasterfrom
feat/modernize-vite-react
Open

feat: modernize from Expo/RN to Vite + React 18 + TypeScript 5#25
JesseRWeigel wants to merge 1 commit intomasterfrom
feat/modernize-vite-react

Conversation

@JesseRWeigel
Copy link
Copy Markdown
Owner

Summary

  • Complete rewrite from Expo 36 / React Native / React 16.9 to Vite + React 18 + TypeScript 5
  • New layered architecture: core/ (EEGDevice interface + drivers), processing/ (focus scoring), app/ (React UI)
  • Neurosity Crown driver ported to the new EEGDevice abstraction interface
  • Demo mode with simulated EEG data for testing without a headset
  • All old Expo/RN dependencies removed; project builds and runs with npm run dev

What changed

  • Removed: Expo, React Native, react-native-web, babel-preset-expo, yarn.lock
  • Added: Vite 6, React 18.3, TypeScript 5.6, @neurosity/notion 5.17, rxjs 7.8
  • New project structure per UPGRADE_PLAN.md Phase 1

Test plan

  • npm run dev starts the dev server
  • Demo mode works (click "Try Demo Mode" -- focus gauge updates with simulated data)
  • Neurosity login form renders and submits credentials
  • npm run build completes without errors
  • Low focus alert appears when simulated focus drops below 20%

Generated with Claude Code

Complete rewrite of the build stack per UPGRADE_PLAN.md Phase 1.
- Vite + React 18 + TypeScript 5 (replaces Expo 36 / React 16.9)
- New project structure with core/drivers/processing/app layers
- Neurosity Crown driver ported to new EEGDevice interface
- Demo mode with simulated EEG data for testing
- All old Expo/RN dependencies removed

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant