Hi, I'm LoganI enjoy Coding_
I am a dedicated husband, skilled full stack web developer at Stripe, and a disc golf enthusiast.
Latest Blog Posts
Thoughts on web development, machine learning, and technology
Best Practices for TypeScript Imports
typescript,
code,
best-practices
Learn how to write cleaner, more maintainable TypeScript code with better import practices
Logan Anderson
4 min read
Tips for Writing Truly Beautiful React Code
react
This blog post shares practical tips for writing readable and maintainable React code. It covers key practices such as limiting the number of props in components, using React Context to avoid prop drilling, employing early returns for cleaner conditional rendering, creating custom hooks to manage state, and avoiding renderSomething methods in favor of functional components. The goal is to help developers write code that is easier to understand and modify, benefiting both current and future developers.
Logan Anderson
6 min read
You Need Suspense in Your Next.js App
react,
nextjs
Next.js has evolved from a static rendering React framework to a dynamic full-stack solution, with features like page.ts and loading.ts for server-side rendering and loading states. Using Suspense, developers can show static content while fetching dynamic data, improving user experience and page performance.
Logan Anderson
6 min read