Open norbertpy opened 8 years ago
same for me
@norbertpy @bjrmatos @wesbos Hi guys! I had the same issue, but I realized that it happened because the PhotoGrid.js file was empty. So in the video isn't showed how the component should be built. In order to it works, add the following content to PhotoGrid.js file:
import React from 'react'
const PhotoGrid = React.createClass({
render() {
return (
<div className="photo-grid">
I'm the photo grid
</div>
)
}
});
export default PhotoGrid
First of all thanks for taking time and making these tutorials @wesbos. Using React 15.0.2 I have noticed that if I use:
As written in Main.js#L14 component I'll get warnings:
Instead this will work: