You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Problem Description:
In the development environment, the library works correctly. However, when I build for production and deploy the application, the following error appears in the console:
Uncaught ReferenceError: React is not defined
The error occurs in the following line of code from react-multi-date-picker:
React.Fragment
return ft.default.createElement(React.Fragment, {
key: mo
});
Using React with Vite in the project.
Installing react-multi-date-picker via npm.
Basic implementation of the component in the application.
Building for production (npm run build).
Deploying the application to the production server.
Is there any known solution for this issue, or any additional configuration I should make to ensure the library works correctly in production?
The text was updated successfully, but these errors were encountered:
Hi.
Problem Description:
In the development environment, the library works correctly. However, when I build for production and deploy the application, the following error appears in the console:
Uncaught ReferenceError: React is not defined
The error occurs in the following line of code from react-multi-date-picker:
React.Fragment
return ft.default.createElement(React.Fragment, {
key: mo
});
Using React with Vite in the project.
Installing react-multi-date-picker via npm.
Basic implementation of the component in the application.
Building for production (npm run build).
Deploying the application to the production server.
Is there any known solution for this issue, or any additional configuration I should make to ensure the library works correctly in production?
The text was updated successfully, but these errors were encountered: