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
According to React 19 documentation, React.createElement is not going to be supported anymore. React-datepicker@7.3.0 is still transforming its jsx using React.createElement instead of import { jsx } from 'react/jsx-runtime';
To be fair, React 19 is not out of canary status yet, but libraries should adapt prior to React 19 coming out of beta.
To Reproduce
I have not run the React 19 canary with react-datepicker yet. Going off of documentation, and react-datepicker build artefacts.
The text was updated successfully, but these errors were encountered:
What's confusing, is the React 19 canary doesn't appear to have the console.warn described in this documentation. Maybe React.createElement isn't going away with React 19, but the writing is on the wall that it will be deleted eventually.
Describe the bug
According to React 19 documentation, React.createElement is not going to be supported anymore. React-datepicker@7.3.0 is still transforming its jsx using React.createElement instead of
import { jsx } from 'react/jsx-runtime';
To be fair, React 19 is not out of canary status yet, but libraries should adapt prior to React 19 coming out of beta.
To Reproduce
I have not run the React 19 canary with react-datepicker yet. Going off of documentation, and react-datepicker build artefacts.
The text was updated successfully, but these errors were encountered: