All jobs / Frontend / web developer / Tooling

Frontend / web developer interview question · 5+ years

Shared packages in a monorepo keep causing diamond-dependency breaks. What do you enforce?

The strongest answer

Public package APIs, a changeset/version policy, and no deep imports into /src

Why it works

The public export map is the product. Deep imports and '*' versions are how diamonds appear.

What a good answer covers

Answers that fall short

Who gets asked this

More Tooling questions