I'll update the project to use React 18. Let me update the package.json to include React 18 dependencies:
I've updated the project to use React 18 with the latest stable versions:
^18.3.1 (latest React 18)^18.3.1 (latest React DOM 18)^0.0.42 (latest)^1.1.2 (latest)^18.3.12 (latest React 18 types)^18.3.1 (latest React DOM 18 types)useId, useDeferredValue, useTransition, etc.The email editor should now work with all React 18 features and improvements, providing better performance and development experience.
I'll update the project to use Next.js 14. Let me add Next.js 14 to the dependencies:
I've updated the project to use Next.js 14 with the following changes:
^14.2.15 (latest Next.js 14)^18.3.1 (React 18 - required for Next.js 14)^18.3.1 (React DOM 18)^0.0.42^1.1.2^18.3.12^18.3.1^22.9.0 (latest Node.js types)serverComponentsExternalPackages to ensure they work properly with Server ComponentsThe email editor is now configured to work optimally with Next.js 14's App Router and modern React patterns.
You can send messages while the preview loads