All jobs / Frontend / web developer

Frontend / web developer interview question · 5+ years

Different screens show different values for the same entity. What is the root cause and the design fix?

The strongest answer

Multiple copies of server state in different caches and local states; one normalised server-state cache keyed by entity id, with mutations invalidating or updating it, so every screen reads one truth

Why it works

Right. One cache, one identity per entity.

What a good answer covers

Answers that fall short

Who gets asked this

More Frontend / web developer questions