Eve demonstrates how to create your first official component. When you look at a user interface designed with React, you can think of it as just being an organized collection of components. The purpose of each component is to display data. Learn how to create a SkiDayCount component using React.createClass.


collection of components.

SCSS files that we’ll need for our application.

So, we’ve created a component using "react.createclass."

And instead of rendering this div, we are going to render

So sometimes we’ll have some errors pop up where it says,

export const "SkiDayCount" so that I can import

We’ve already run npm start, so it’s running our

And if we open up our react developer tools,

we should see that we have the ski day count being rendered