Closed Khangeldy closed 11 months ago
I think you might need to add the path="/"
prop to your App
Route
component. What's the actual error that you're getting? and which version of Inferno do you have installed?
Error is a chilren property. It is empty. In above code cloneVnode
first parameter get null type. I think this problem related to github SPA pages. I solved error by changing browserHistory to hashHistory. And error only reproduced in github pages.
"dependencies": {
"gh-pages": "^1.1.0",
"inferno": "^3.10.1",
"inferno-component": "^3.10.1",
"inferno-router": "^3.10.1",
"inferno-scripts": "5.0.0"
},
Closing this old issue.
In development everything works correct. But when i deployed my app into github pages. I get error cause
this.props.children
is empty. See Open dev console output. What i am doing wrong?Root.js
App.js