Charts and Console(4)Display and Enhancement

122 篇文章 0 订阅
Charts and Console(4)Display and Enhancement

My ReactJS Projects
Warning:
lowPriorityWarning.js:40 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

Solutions:
https://facebook.github.io/react/warnings/dont-call-proptypes.html
https://stackoverflow.com/questions/43303761/accessing-proptypes-via-the-main-react-package-is-deprecated

Change
import React, { PropTypes } from 'react’;
To
import React from 'react';
import PropTypes from 'prop-types';

Upgrade version of modules in package.json
"react-bootstrap-table": "^4.0.3",
"react-dom": "^15.6.1",
"react": "^15.6.1",
"prop-types": "15.5.10",

Some other enhancement is in project price-monitor-console

References:
http://allenfang.github.io/react-bootstrap-table/docs.html#tdAttr
https://github.com/AllenFang/react-bootstrap-table/issues/1411
https://github.com/AllenFang/react-bootstrap-table/issues/204
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值