3 React warnings
See original GitHub issueThese 3 warnings appears when I stay in dev enviroment:
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you’re not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
Warning: Accessing factories like React.DOM.div has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead. Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories
render() { const state = this.props.state;
const selectRowAlarms = {
mode: 'radio',
clickToSelect: true,
onSelect: this.onAlarmsRowSelect,
bgColor: '#FDFD96',
hideSelectColumn: true
};
const selectRowMeasures = {
mode: 'radio',
clickToSelect: true,
onSelect: this.onMeasuresRowSelect,
bgColor: '#FDFD96',
hideSelectColumn: true
};
return (<BootstrapTable data={channelsDVBT} maxHeight={200} scrollTop={ 'Bottom' } selectRow={ selectRowMeasures } striped hover>
<TableHeaderColumn isKey dataField='id'>Channel</TableHeaderColumn>
{labels.map((label, i) => {
return <TableHeaderColumn key={i} dataField={label.id}>{label.label}</TableHeaderColumn>
})}</BootstrapTable>
);
}`
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top GitHub Comments
@wallena3
v3.5.0
still usePropTypes
fromreact
, I will upgrade tov4.0.0
as official release in this weekend,v4.0.0
released ✌️