Hello,
I have a very basic SSR React app (see attachment).
I cannot solve the following error which is stated in the browser console: "Warning: Did not expect server HTML to contain a <div> in <div>."
Please find and define the causing error. Explain to me why this is the error and what causes it.
Solve the error/warning with the most professional solution, which works sustainable - means no matter which and how many further routes with server-rendered content will be added.
Some further conditions of the project as a result of my experiences here on freelancer:
Everything must work properly on my machine. Only then I release the entire sum at once.
In case of questions, I can ask you, you can ask me, too.
NO Scammers and NO bargaining and No Asking for tip after contract approval or project finalization!
We can also use anydesk or teamviewer where you can directly work on my project in case it makes sense.
Only efficient solutions with the smallest possible performance need. No complicated solutions, or workarounds.
No JQuery. No further packages.
All indications without engagement, subject to small modifications.
Hey , did u try this solution
remove space like this
<body>
<div id="root">${markup}</div>
</body>
instead of this
<body>
<div id="root">
${markup}
</div>
</body>
if it didn't work , Contact me , To discus more about it
Hello, how are you?
Hope you are fine and great.
I am a competent developer with 5+ years of experience in Laravel and ReactJS.
My skills are:
Javascript/TypeScript/NodeJS/ReactJS/NextJS/AnguarJS
Specific skills will be SHARED on chat.
I am particularly good at English so you will have a communication with me in a friendly way.
Hope to hear from you.
Thanks and regards.
Dmitry