• _hello
  • _about-me
  • _projects
  • _blog
  • _support
_contact-me
find me in:
@faeztgh
cd ../topics

Namespaces

// 1 article on Namespaces by Faez Tgh — practical React, Next.js, TypeScript and web-performance write-ups.

01
typescript

Understanding Namespaces in TypeScript: A Deep Dive

Jan 9, 2024· 2 min·421 words

TypeScript namespaces bundle related code into logical containers and prevent naming collisions — but with ES6 modules now mainstream, should you still reach for them?

  • TypeScript
  • Namespaces
  • Code Organization
read-postopen

# other-topics

  • TypeScript20
  • JavaScript11
  • React8
  • AI6
  • Next.js6
  • Performance6
  • Generics4
  • SEO3
  • Type Safety3
  • Utility Types3
  • Architecture2
  • LLM2
  • Tooling2
  • Type System2
  • Union Types2
  • Web Standards2
  • Advanced Types1
  • Autocomplete1
  • Backend1
  • Chrome Extension1
  • Code Organization1
  • Conditional Types1
  • CSS1
  • Decorators1
  • Developer Experience1
  • Frontend1
  • Function Overloading1
  • Hooks1
  • Infer1
  • MCP1
  • Metaprogramming1
  • Omit1
  • Pick1
  • RAG1
  • Responsive Design1
  • Structured Data1
  • Template Literal Types1
  • Type Guards1
  • Type Inference1
  • URL Parameters1
  • useEffect1
  • useLayoutEffect1
  • Web Vitals1
  • YouTube1