So what I'm going to do here is delete our current component…and I'm going to create a new component as a class.…So we'll say class Message extends React.Component.…Inside of our class here,…we're going to render the following.…So we'll say return,…and inside of our return,…we will create a div.…This div is going to have a h1…and also a paragraph.…
And inside of our h1,…we're going to make use of the props object in React…and say this.props.title,…and our paragraph we'll say this,…inside of a JSX expression,…it'll say this.props.message.…
- What is webpack?
- Running webpack from the command line
- Setting up loaders
- Loading CSS
- Compiling SCSS
- Using webpack plugins
Skill Level Intermediate
1. What is webpack?
2. webpack Loaders
3. webpack and CSS
4. webpack Plugins
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.