Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
Hydration failed error message showing in Reactjs

I am working with Reactjs(Nextjs),whenever i use "body" tag for other pages(like about.js),then i am gettig foloowing error "Hydration failed because the initial UI does not match what was rendered on the server",But if i use "div" instead of "body" then error not showing but effected my "design" (in browser),So i want to know that how can we use "body"(already meniton in document.js), Here is my code(Header.js inside "components" folder)

import React from 'react'
function NestedLayout() {
return (
    <>
<>
<body class="sub_page">
    //My further code    
</body>
    </>
   </> 
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!