Eike Foken

Results 44 comments of Eike Foken

@UpperCod I removed hasOwnProperty calls already in https://github.com/atomicojs/atomico/pull/120/commits/5132a2755a08afbf742e71b3333376f1abbceb16

Just used this as a workaround for now, seems to work: ```ts datePicker.props = { value: createType((value) => (value instanceof Date ? value : new Date(value))), } ```

FYI, we solved this issue using a custom TextInput component using a ref and then `ref.current.setAttribute('name', name)`. I also did this for setting the `type` attribute, also for ``-elements

Yes, this would be super good, I also stumbled upon this. Anonymous default exports are not a good practice and also not what Storybook recommends. See: https://storybook.js.org/docs/writing-stories/typescript We always write...

Probably has to do something with `ReactStrictDOMDataProps` in TypeScript, which is not defined at all. If I define it inside `dist/types/StrictReactDOMProps.d.ts`, everything works as expected. I just added: ```tsx type...

Just found out that also `Stringish` is unresolved in TypeScript, which makes totally sense because it's converted from Flow. I guess both `Strinish` and `ReactStrictDOMDataProps` should be interfaces. So that...

Yes exactly, TypeScript ignores all props in JSX containing `-` dashes

Can you just strip those types in TS? Replace `ReactStrictDOMDataProps` with `{}` and `Stringish` with `string`

Just implemented variation and color switches 😄