-
Our TS->proptype conversion works **really** well. So well that it adds 1.6mb of proptypes. A lot of this comes from the prop forwarding that we do in the components, so if component A is used by B is…
-
```javascript
import PropTypes from 'prop-types';
MyComponent.propTypes = {
// You can declare that a prop is a specific JS type. By default, these
// are all optional.
optionalArray: Pro…
-
the error
```
ERROR TypeError: Cannot read property 'style' of undefined, js engine: hermes
```
i know someone already post this, but for me i have to remove View.propTypes.style too
```
slid…
-
From Feb 27, 2024 retrospective.
Currently, we’re keeping both PropTypes and Typescript, but consider this is also duplication.
(Note that Typescript checks type at compile while PropTypes checks dur…
-
[Force ReactJS to throw real errors when propTypes validation fails?](https://stackoverflow.com/questions/27006782/force-reactjs-to-throw-real-errors-when-proptypes-validation-fails)
-
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `react-native-snap-carousel@3.9.1` for the project I'm…
-
Found while working to add TS types for DataTableSkeleton: https://github.com/carbon-design-system/carbon/issues/12516
- The DataTableSkeleton propType should match the DataTable propType.
- Also…
-
Example component where issue is seen:
`DataTable` supports a `columns` prop that allows consumers to customize their table's column configuration. For each column, consumers may override the `Cell…
-
While the majority of files have been converted from JS to TS, we still have a few JS files that use `propTypes` definitions. In addition, we also have a few TSX files that use `propTypes` definitions…
-
Hello,
After install and run with `create-react-app`, error occurs:
![proptypes](https://user-images.githubusercontent.com/5633434/39647493-190dd40a-4f94-11e8-868f-9618c634f6d7.JPG)