You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am learning react-native programming I have an error
I am not sure why this is
reactProdInvariant.js:31 Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=%20Check%20the%20render%20method%20of%20%60t%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at r (reactProdInvariant.js:31)
at o (instantiateReactComponent.js:74)
at r (ReactChildReconciler.js:44)
at i (traverseAllChildren.js:77)
at o (traverseAllChildren.js:172)
at Object.instantiateChildren (ReactChildReconciler.js:74)
at b._reconcilerInstantiateChildren (ReactMultiChild.js:191)
at b.mountChildren (ReactMultiChild.js:224)
at b._createInitialChildren (ReactDOMComponent.js:703)
at b.mountComponent (ReactDOMComponent.js:522)
My package json looks like
"devDependencies": {
"babel-core": "6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-plugin-react-remove-prop-types": "^3.0.0",
"babel-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"bower-webpack-plugin": "^0.1.9", and .bablrc
I am learning react-native programming I have an error
I am not sure why this is
reactProdInvariant.js:31 Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=%20Check%20the%20render%20method%20of%20%60t%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at r (reactProdInvariant.js:31)
at o (instantiateReactComponent.js:74)
at r (ReactChildReconciler.js:44)
at i (traverseAllChildren.js:77)
at o (traverseAllChildren.js:172)
at Object.instantiateChildren (ReactChildReconciler.js:74)
at b._reconcilerInstantiateChildren (ReactMultiChild.js:191)
at b.mountChildren (ReactMultiChild.js:224)
at b._createInitialChildren (ReactDOMComponent.js:703)
at b.mountComponent (ReactDOMComponent.js:522)
My package json looks like
"devDependencies": {
"babel-core": "6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-plugin-react-remove-prop-types": "^3.0.0",
"babel-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"bower-webpack-plugin": "^0.1.9",
and .bablrc
{
"presets": [
"es2015",
"stage-0",
"react"
]
}
webpack looks like
const path = require('path');
module.exports = {
entry: {
main: "./src/index.js"
},
output: {
path: path.resolve(__dirname, 'dist/assets'),
filename: 'app.js'
},
devtool: 'source-map',
module: {
rules: [
{
test: /.(js|jsx)$/,
loader: 'babel-loader'
},
{
test: /.scss$/,
use: [{
loader: "style-loader"
}, {
loader: "css-loader"
}, {
loader: "resolve-url-loader"
}, {
loader: "sass-loader"
}]
}]
}
};
react render
render() {
return (
<Form.Input className="input"
{...this.props}
onClick={this.handleClick}/>
);
}
Index.html
<!doctype html>
<title>Application</title> <script type="text/javascript"> var firstPathPart = document.location.pathname.split("/")[1]; if (firstPathPart !== '') { var href; href = '/' + firstPathPart + '/'; document.write(""); // output /dist/ } </script> <style> #loader { position: absolute; top: 50%; left: 50%; margin: 0px; text-align: center; z-index: 1000; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); padding-top: 100px; }Please help me why this error is? and where I have to look
The text was updated successfully, but these errors were encountered: