RSSAmplifier

Blog

Neciu Dan’s Blog

🚀 Neciu Dan is a software engineer with a predominant focus on the front-end. He shares a passionate relationship with JavaScript and has professional experience with all of the Big Three Frameworks.

neciudan.devRSS feed ↗42 posts

Latest posts

Frontend CI/CD in the age of AI - Part 2: Deployments

Agents write code that passes every test and still breaks in production. Here is how to ship it to a slice of your users first, and how to take it back in seconds when it goes wrong.

Frontend CI/CD in the age of AI -- Part 1

Code is written faster than ever with AI loving to write tests for everything it does. This makes our CI pipeline slower and slower. Here is how to build a fast CI/CD pipeline - Part 1 with focus on CI

Do we need state management libraries anymore?

Let's find out by exploring how the most popular libraries are doing it under the hood and then build our own.

The React Compiler

The React Compiler memoizes your components at build time, and it does the job better than you can by hand. What it is, how the compiled output works, how to turn it on, and what to do with the useMemo calls already in your codebase.

What's the best way to do authentication in modern applications

Where should your auth token live so an XSS bug can't steal it? Here's how to build auth that survives the crazy non-secure world we live in.

Different hydration and rendering strategies

Over the years, in our goal to achieve faster and faster web applications, we created different hydration and rendering strategies. Each with benefits and drawbacks that we explore in this article.

Component Communication Patterns in React Applications

React gives you a lot of ways to make two components share data but it gets more and more complicated based on the data and how far apart the components are. Lets see the different ways components can communicate with each other.

Upgrading from Astro 3 to Astro 6, with Claude doing most of the work

My site ran Astro 3 for three years. When Anthropic released the new Fable model, I tested it on the scariest item on my backlog: a three-major-version upgrade. This is how it went, numbers included.

Why are we not using Service Workers?

I feel like Service Workers are a underused technology with a lot of benefits, but very complex to set up and often misunderstood and what they do. Here are some case studies from Slack, Mux and me on where and how to use Service Workers

Everything you need to know about Sourcemaps

Sourcemaps unlock some observability benefits but might expose your codebase. Check out how they work, and how to protect yourself.

A gentle introduction to TanStack Query

One room of React developers had all used TanStack Query. The next room had barely heard of it. This is the version of the talk that assumes nothing.

GitHub Actions Cache Poisoning is eating open source

Angular. tj-actions. Cline. TanStack. The same class of attack has been quietly hijacking publish pipelines for two years. Here's what it is, how it works, and what you need to do today.

Seven cool JavaScript libraries You should know about

Small, focused libraries I found useful. Each has a clear job and a payoff you'll feel in the first use.

Server-Driven UI in 22 lines of TypeScript

Move the layout decision out of the clients and into the API. One JSON contract; every client renders it in its own programming language or framework.

Astro SEO Checklist 2026: 20 tactics ranked by impact

Astro SEO checklist for 2026: 20 tactics ranked from biggest to smallest impact, including canonical URLs, title tag rules, JSON-LD structured data, Person and BreadcrumbList schema, llms.txt, Pagefind search, and a Zod schema that caught 10 bugs in my podcast frontmatter.

How to make your app agent-ready

MCP, OAuth, discovery metadata, robots.txt, Content Signals, Web Bot Auth, x402, UCP, ACP. A walk through what each one is, why it exists, and how to implement the ones your app actually needs.

What's actually new in JavaScript (and what's coming next)

ES2025 is out, ES2026 is close. Here is the new feature of Javascript we can use today, what is coming next and how we can get our AI friends to use these new features

My blog got popular, and my bandwidth exploded to ~300GB in just 10 days

This made me take a good, hard look at my Astro blog and start optimizing: assets, headers, caching, CDN. Here is exactly what I did to fix it.

Now more then ever, you need to master custom ESLint rules

I spent three days building a custom ESLint rule and accidentally learned how JavaScript actually works. ESLint is just walking your code's syntax tree and running functions against each node. Once you see it, you can enforce any coding standard automatically instead of arguing about it in PR reviews.

You really, really, really don't need an effect! I swear!

Before you write another useEffect, ask one question: is this syncing with an external system? If not, there's a better way.

10 React tips I wish someone had told me before I mass-produced bugs

After running a 30-day React deep-dive, these are the 10 patterns that changed how I write components, manage state, and think about performance.

Build your own shimmer skeleton that never goes out of sync

Skeleton screens break every time you touch the UI. Here's how to build one that reads the DOM and keeps itself in sync automatically.

Start naming your useEffect functions, you will thank me later

I started naming my useEffect functions about a year ago. It changed how I read components, how I debug them, and eventually how I structure them.

A tech breakdown of Server-Sent Events vs WebSockets

Benefits and drawbacks of Server-Sent Events vs WebSockets, and when its better to use ach protocol based on your situation.

How to steal npm publish tokens by opening GitHub issues

A chain of vulnerabilities and pretty clever attack strategies led to the compromise of the Cline CLI. Let me explain what happened and what you can do to protect yourself.

Git is the new code

AI is writing more code than ever before (if not all of it). But our most important job as developers hasn’t gone away—it’s simply changed. We spend less time typing code and more time reading, reviewing, and making sure everything works as it should. Here are some quick guidelines and git commands to help you

2025 in Review

I started a podcast, posted everyday on social media, and spoke at conferences, here are the results and learnings I got from each of them.

AI is the future of coding

Cursor / Copilot / Windsurf are changing how we write code. Here is everything you need to know about Cursor, how to use it effectively and the best rules andMCPs to get you started

Building a Subscribe Feature

Learn how to implement a newsletter subscribe feature similar to Substack using Astro, Netlify Functions, and Google Sheets - a free alternative to paid newsletter platforms.

Magic Release Notes

Just merge your PRs without worrying about release notes. Let GitHub Actions do the work for you by creating a Draft Release and then push to production by clicking a button and get notified on Slack.

Speaking at Tech Conferences - How to get started

Speaking at tech conferences is a great way to share your knowledge and experience with the community. Here are some tips on how to get started.

Fortifying Vue.js Applications

This article discusses the top security vulnerabilities in Vue.js applications and provides recommendations for identifying and mitigating the risks.

Crack the Tech Interview

Amidst the current uncertainty in the tech industry due to widespread layoffs, it’s more important than ever to equip yourself with the right tools and resources to succeed.

Writing The Perfect Tests for your Application

Testing is hard, but knowing what and when to test is actually harder. Let me tell you about 3 types of tests that can help you secure your project.

10 Software concepts I learned in 2022

Software Engineers commit to a lifetime habit of learning. Here are 10 things I learned this year that made me a better Frontend Engineer.

5 Amazing Software Testing Books You have to Read

Testing is a vital part of Software Development. Read these 5 books about Software Testing Practices to write better and safer code.

Tech Books you have to read, to be a better Software Engineer

Nobody becomes great overnight, it takes years to gain the knowledge and experience to be at the top in your field. These books would help you get there faster.

5 Testing Practices you should have in your CI / CD Pipeline

Nobody wants bugs in their apps, it could cause your company to lose millions of dollars. Adding these 5 testing practices can prevent it from happening to you.

Javascript Component Patterns to Scale up your Web Application

The Web has evolved. We are now building web applications that can handle millions of users per second. Here are the best component patterns to help you scale.

CSS: The !Important Parts

Struggling with CSS is a common practice, here we explain how it works and common problems that can appear in your code.

5 Tips to Solve Common Pitfalls With React Native

Common issues I encountered when building mobile apps with React Native and how I solved them

The Bowling Kata

A kata is a set of routines, samurai used to perfect their craft. We can apply the same practices for code development