Skip to content

🔴please help me after step 06:23:07 64. React Rendered by Django , when I update reactjs and go to localhost:8000 I don't see any changes.!!! #7

@aliscie

Description

@aliscie

Note, I'm musing react with tsx (typescript)
my index.tsx file

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
const getelem = document.getElementById("root");
getelem && ReactDOM.render(<App />, getelem);

reportWebVitals();

my templaes/react.html file has the same code that i copied from build/index
and I did all the other steps.
see my repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions