Murad Haneya
banner
mhaneya.bsky.social
Murad Haneya
@mhaneya.bsky.social
Software Engineer + new writer.
Posts on architecture, career lessons, and staying sane in tech.

https://medium.com/@murad.haneya
Say you're designing a POST endpoint that takes an ENUM e.g. `status` as one of its properties. How would you let the consumer present it in their request?

🔹A. Ordinal (e.g. 0, 1...)

🔹B. Literal name (e.g. "ACTIVE")

🔹C. String value (e.g. "active" defined as ACTIVE("active"))

And why?
January 18, 2026 at 12:54 AM
Memoization won’t fix your 10k+ list.
React stops rerunning your logic, but the browser still paints every element.

Virtualization is your real friend here.
January 17, 2026 at 9:25 PM