Next.js Discord

Discord Forum

Outdated Learn Page

Answered
Channel catfish posted this in #help-forum
Open in Discord
Channel catfishOP
On this page https://nextjs.org/learn/foundations/from-javascript-to-react/getting-started-with-react it is still using older Version, on chrome Console i am getting Warning! Please provide me upgraded code
Answered by @ts-ignore
you've to go through docs to learn
View full answer

12 Replies

you've to go through docs to learn
Answer
@@ts-ignore you've to go through docs to learn
Channel catfishOP
can help me upgrade this code
const app = document.getElementById('app');

ReactDOM.render(<h1>Created using React</h1>,app);
@Channel catfish Whats a Vite lol
its a build tool
@@ts-ignore https://nextjs.org/docs/app/building-your-application/upgrading/codemods#migrate-from-cra
Channel catfishOP
am just a beginner bro. these links are so confusing right now
@Channel catfish can help me upgrade this code const app = document.getElementById('app'); ReactDOM.render(<h1>Created using React</h1>,app);
European sprat
This indicated you have an existing react app so he was sharing docs about migrating from that
European sprat
If you're starting fresh and learning nextjs, read the docs https://nextjs.org/docs
/learn is being updated