Var vs function
I'm working through this class but in a different course I was studying to create a component you'd use
var NAME = React.createClass ..... Is there a difference?
Mikis Woodwinter44,934 Points
It's just two types of architectures for creating a React Component. As you complete the course, the instructor will explain the differences between the two as well as the pros and the cons of each.
Ok cool! I just wasn't sure if there was a difference. I'll just keep up with the course and see what I learn! Thank you!
Alexander Alegre14,340 Points
Hope this helps.