>

CODEMASTERYLAB

IDE PLATFORM
CoursesCommunity BlogsKnowledge GraphQuizzesInterview Prep

Sign in to track progress & earn XP

Sign In Create Account
>
Code Mastery Lab

Code Mastery Lab

Sign In

Server-Side Rendering and Universal React

Question 1 / 1

0:00
Core
Medium

A developer implements SSR for the Color Organizer. The server renders 5 colors and embeds the HTML in the response. The client bundle loads, initializes Redux with an empty state (no window.__INITIAL_STATE__), and calls render(). The browser console shows:

Warning: Expected server HTML to contain a matching <div> in <section>.

After the warning, the page flashes and shows an empty color list. What is happening and why?