Patrick Wolfert
Patrick Wolfert
Opened a pull request for this functionality here: https://github.com/styleguidist/react-docgen-typescript/pull/503
Are we scheduled to discuss this in any meetings?
@dmethvin-gov, while it could indeed be a problem with Storybook, have you tried the upgraded component outside the context of Storybook? Like running it in one of the projects in...
I've at least been able to narrow down the issue a little bit in my investigations so far. Looks like it works in React and not Preact.
Narrowed it down to something that happened in that library between `8.8.2` and `8.9.0`. That's when it stops working in Storybook with Preact.
I was thinking the same thing, that it was the removal of the React imports and changing of the JSX transform implementation, but I hadn't gathered enough evidence or figured...
Another interesting thing I just found is that the current version of our `SingleInputDatePicker` doesn't work natively in a Preact project. It only works if Preact is in React-compatability mode....
Noting here for context that upgrading to [react-day-picker v8.10](https://github.com/gpbl/react-day-picker/releases/tag/v8.10.0) is necessary to be able to upgrade [date-fns to v3.0](https://github.com/date-fns/date-fns/releases/tag/v3.0.0) so that that dependency supports ES Modules. Without that, modern build...
Putting this note here because it's related: If we wanted to be able to switch to the new JSX transform, I found the minimum requirements: > [React 17 RC](https://legacy.reactjs.org/blog/2020/08/10/react-v17-rc.html) and...
Update: [I've made a pull request to fix the issue upstream](https://github.com/gpbl/react-day-picker/pull/2076) in `react-day-picker`