Open cforsyth68 opened 3 years ago
https://github.com/pkellner/pluralsight-course-server-side-rendered-react-nextjs/blob/9519d0669fb59ba4ee77d2428596d40f9c6043bb/m3-Learning-the-Fundamentals/04-Creating-a-React-Functional-Component/index.js#L5-L7
To match video, 04 should show a functional component, as follows:
const Hello = function() { return React.createElement("h1",{},"Hello From Pluralsight and React"); }; ReactDOM.render( React.createElement(Hello,{},null), document.getElementById('app') );
Thanks @cforsyth68
https://github.com/pkellner/pluralsight-course-server-side-rendered-react-nextjs/blob/9519d0669fb59ba4ee77d2428596d40f9c6043bb/m3-Learning-the-Fundamentals/04-Creating-a-React-Functional-Component/index.js#L5-L7
To match video, 04 should show a functional component, as follows: