Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔴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

Open
aliscie opened this issue Nov 30, 2020 · 0 comments

Comments

@aliscie
Copy link

aliscie commented Nov 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant