Skip to content

React Version Upgrade - Bug Fixes & CompatibilityFix/email upgrades#3

Open
reshalmenzes wants to merge 6 commits intobron10:masterfrom
reshalmenzes:fix/email-upgrades
Open

React Version Upgrade - Bug Fixes & CompatibilityFix/email upgrades#3
reshalmenzes wants to merge 6 commits intobron10:masterfrom
reshalmenzes:fix/email-upgrades

Conversation

@reshalmenzes
Copy link
Copy Markdown

React Version Upgrade - Bug Fixes & Compatibility

Upgraded React and all related packages to their latest versions and fixed all the breaking changes that came along with the upgrade.

What was done:

Package Upgrades

  • Upgraded React and all dependencies to latest versions
  • Updated all related config files to support the new versions

Fixes after upgrade:

  • Fixed email sending — compose form was not saving emails correctly to localStorage after the upgrade
  • Fixed Inbox and Sent Mail showing same emails — app was not reading the URL correctly to identify which section the user is in
  • Fixed app crash on logout — useEffect was returning a Redux action object which is not allowed in the new React version
  • Fixed app crash when sending email without a body — added a safety check to handle empty body gracefully

Files Changed:

  • src/services/api.ts
  • src/components/emails/compose-modal.tsx
  • src/components/emails/list.tsx
  • src/sagas/email.ts
  • src/pages/dashboard/index.tsx

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