-
The debugger should have an optional `visible` property, defaulting to `true`, that determines visibility on load.
Pressing `ctrl-h` should toggle the visiblity.
``` js
visible: React.PropTypes.bool…
-
1. React.Children可以方便的操作this.props.children。之所以提供这么一个工具类是因为,当children包含多个元素时,Array.isArray(this.props.children)===true。而单个元素时,为false。React.Children为我们屏蔽了这层差异。
2. 如果我们要写基于native组件上的高阶组件,在写propTypes时,可以…
-
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `react-native-slider@0.11.0` for the project I'm worki…
-
# TypeScript migration
Make sure you read through our TypeScript's [style guide](https://github.com/Expensify/App/blob/main/contributingGuides/TS_STYLE.md), [cheatsheet](https://github.com/Expensify/…
-
# TypeScript migration
Make sure you read through our TypeScript's [style guide](https://github.com/Expensify/App/blob/main/contributingGuides/TS_STYLE.md), [cheatsheet](https://github.com/Expensify/…
-
# TypeScript migration
Make sure you read through our TypeScript's [style guide](https://github.com/Expensify/App/blob/main/contributingGuides/TS_STYLE.md), [cheatsheet](https://github.com/Expensify/…
-
These properties have implied definitions in pretty much all React components. Should we really be requiring that they're defined in the `propTypes` definitions? That seems excessive.
-
- components: `InputGroupAddon`
- reactstrap version `#6.3.0`
- import method `import { InputGroup, InputGroupAddon, Input } from "reactstrap";`
- react version `#16.3.2`
- bootstrap version `#4.1…
-
Hey! Love the addon!
I'm getting a proptype warning when using with React hooks.
My component:
```
const Navigation = React.memo((props) => {
return ();
});
Navigation.defaultProps …
-
# TypeScript migration
Make sure you read through our TypeScript's [style guide](https://github.com/Expensify/App/blob/main/contributingGuides/TS_STYLE.md), [cheatsheet](https://github.com/Expensify/…