# JavaScript — Daine Mawer

> Browser APIs, event handling, observers, framework-agnostic patterns.

14 articles filed under JavaScript.

## Articles

- [What Next.js 16.3's Instant Navigations Validates](https://www.dainemawer.com/nextjs-instant-navigations.md):
  Published 2026-10-16. 6 min read. "Instant" isn't a performance budget you hit by trying harder. It's a pass/fail check on whether a route's shell can render without touching the network, and a single misplaced Suspense boundary is enough to fail it.
- [Sharing a TypeScript Domain Layer Between Next.js and Expo](https://www.dainemawer.com/shared-typescript-nextjs-expo-monorepo.md):
  Published 2026-10-12. 7 min read. What to put in the shared package, what never belongs there, and the pnpm symlink problems Metro still finds a way to resurface.
- [Adopting React Compiler Without Breaking Production](https://www.dainemawer.com/react-compiler-production-checklist.md):
  Published 2026-10-09. 6 min read. The rollout order that keeps a silent skip from becoming a production regression, lint first, fix what it flags, then clean up the old memoization.
- [Hardening Your JavaScript Stack Against the Next npm Supply Chain Worm](https://www.dainemawer.com/npm-supply-chain-worm-defense.md):
  Published 2026-10-05. 6 min read. Shai-Hulud showed the pattern. Here's the concrete playbook for keeping a self-replicating worm out of your dependency tree.
- [Shai-Hulud Broke npm's Trust Model. Here's the Replacement](https://www.dainemawer.com/npm-supply-chain-trusted-publishing.md):
  Published 2026-09-30. 6 min read. A self-replicating worm hit 500+ packages by stealing publish tokens. npm's fix removes the tokens instead of trusting them harder.
- [The Temporal API Is Here. Here's How to Actually Start Using It](https://www.dainemawer.com/temporal-api-replacing-date.md):
  Published 2026-09-25. 6 min read. JavaScript's Date object finally has a real replacement, and it's usable in production sooner than you'd think.
- [CSS Can Finally Replace Your Tooltip and Dropdown Libraries](https://www.dainemawer.com/css-anchor-positioning-customizable-select.md):
  Published 2026-09-16. 5 min read. Anchor positioning and customizable selects both have real browser support now. Here's what to drop, what to keep, and where the gaps still bite.
- [Migrating to TypeScript 7 Without Breaking Your Toolchain](https://www.dainemawer.com/typescript-7-native-compiler-migration.md):
  Published 2026-09-11. 5 min read. The native compiler is 8-12x faster. The programmatic API isn't ready yet, and that's where teams get burned.
- [The Rise of No-Code and Low-Code in Frontend Development](https://www.dainemawer.com/no-code-low-code-frontend.md):
  Published 2025-01-15. 3 min read. Benefits, challenges, and the role of AI.
- [How to Determine When a Sticky Element is Stuck in JavaScript](https://www.dainemawer.com/determine-when-a-sticky-element-is-stuck.md):
  Published 2024-03-14, updated 2026-02-09. 3 min read. A small JavaScript function for the pseudo-class CSS never gave us.
- [Enhance Your React App's Scalability with Storybook and Chromatic](https://www.dainemawer.com/react-scalability-storybook.md):
  Published 2024-02-05. 9 min read. Component libraries and visual regression testing.
- [Setting Up Next.js with a Component Library Using Monorepos](https://www.dainemawer.com/nextjs-component-library-monorepo.md):
  Published 2023-11-20. 6 min read. A component library, Storybook, and Next.js, all in one workspace.
- [4 Tips for Properly Using the Return Statement in JavaScript](https://www.dainemawer.com/using-the-return-statement.md):
  Published 2023-02-13. 3 min read. A few rules that keep return statements from causing quiet bugs.
- [5 Frontend File Architectures for Better Code Organization](https://www.dainemawer.com/frontend-file-architectures.md):
  Published 2023-01-18. 5 min read. Flat, hierarchical, modular, component-based, and feature-based, compared.

---

Canonical HTML: https://www.dainemawer.com/topics/javascript
Markdown index: https://www.dainemawer.com/index.md · Agent guide: https://www.dainemawer.com/agents.md · [llms.txt](https://www.dainemawer.com/llms.txt)
Attribution: Daine Mawer — https://www.dainemawer.com/about