new Combo(props)
A combo-box component for React Bootstrap
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | A props config |
Methods
(protected) componentDidMount()
Invoked when the component is mounted into the DOM tree
(protected) componentWillUnmount()
Invoked when the component is about to be unmounted from the DOM tree
handleResize()
Invoked when the component is mounted into the DOM tree, debounced by 150ms
(protected) render() → {ReactElement}
Invoked when the component is about to be unmounted from the DOM tree
Returns:
a virtual DOM tree representing the component
- Type
- ReactElement
(protected) shouldComponentUpdate(props) → {boolean}
A performance hook
Parameters:
Name | Type | Description |
---|---|---|
props |
Object | A props config |
Returns:
true if the component needs to be re-rendered
- Type
- boolean