-
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…
-
Tools:
PMD
JaCoCo
Checkstyle
Dependabot
ESLint
Prettier
Stylelint
Cypress
React PropTypes
-
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…
-
- How to create shapes, put it in component folder? And what if components share one or more shapes? Use centerline convention?
- Consistent naming convention for shapes names (e.g. name in shapes fo…