-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attachRefs 问题。Minified React error 。 #7
Comments
may be you can pull a pr to fix this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提示压缩了之后的错误。错误如下,
错误描述的详情: http://facebook.github.io/react/docs/error-decoder.html?invariant=119
看样子,生产代码肯定是压缩的,问题感觉没法解决的。
所以我看着代码直接改成自己的版本了。
因为我的项目中大量使用
lodash
,而且没有使用React.createClass
写propTypes
,因此直接使用lodash
判断shouldComponentUpdate
了,另外习惯问题,没使用React.createClass
,而是使用了class Component extends React.Component
形式,所以打包的时候需要使用 babel 另行打包。The text was updated successfully, but these errors were encountered: