score:3

Accepted answer
// inside script.js
import React from "react";
import ReactDOM from "react-dom";
import Header from "./header.js"; //note extension

class Layout extends React.Component {

Related Query

More Query from same tag