BitlystBitlyst
PostsSeriesTopicsAbout

Bitlyst

Short, diagram-first posts on JavaScript, React & Next.js. Follow via RSS or the newsletter.

© 2026 Mohsen Fallahnejad

PostsSeriesTopicsLinksAboutSync devicesRSSGitHubX
← All series

Series

Common Mistakes

Patterns that look fine in code review until production, the bundler, or an interview question proves otherwise.

Your guide: Oops. Has left the same comment on three PRs this week. Politely.

1 of 4 parts published · 5 min total

0/1 read
Start reading: Part 1 →
  1. 1Barrel Files (`index.ts`): Why One Import Can Slow Your BuildA barrel re-exports a whole folder. Tree shaking may still drop unused code, but the bundler often walks every file behind that index first.
    Nov 16, 20265 min read
  2. 2The useEffect that only derived stateComing soon
  3. 3The forEach that did not wait for awaitComing soon
  4. 4The secret that NEXT_PUBLIC_ copied into gitComing soon

Get new posts in your inbox

One email when a new post is out: short, diagram-first explanations of JavaScript, React and Next.js. No spam, unsubscribe any time.