Javascript React ?

Hello everyone , I am new to javascript and I decided to start with react because I want to make a website that is 1 page and without loading between sections , do I have to make the whole website in javascript then or can I just have multiple html files and use react to switch between them or prefetch them in some way ? thank you in advance for taking your time to answer , best regards
2 Replies
Jochem
Jochem•2mo ago
If you're using react, you're using react for the whole thing. Read the docs, follow a couple of tutorials...
b1mind
b1mind•2mo ago
Or you could just use nextJs or React router 7 😅 they do this in a much better way than just React

Did you find this page helpful?