Question
Tow pieces of code that must be in App.js what is the correct way to write them? first: import React from 'react'; import ReactDOM from
Tow pieces of code that must be in App.js
what is the correct way to write them?
first:
import React from 'react';
import ReactDOM from 'react-dom';
import Modules from '../Modules';
import UniversityCourseStudent from './UniversityCourseStudent';
class App extends React.Component {
render() {
return (
Uuniversty course managment
name="Sam" studentId="b76" courseName="cs" courseStartDate="12/07/2021" />
);
}
}
ReactDOM.render(
import React from 'react';
second:
let courses = [
{"course":"CS"},
{"course":"Eng"},
{"course":"math"},
];
function App() {
return (
);
}
export default App;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started