Darius Cosden 🧑🏻‍💻
cosden.dev
Darius Cosden 🧑🏻‍💻
@cosden.dev
Teaching React at @cosdensolutions · 170k subs · Building an AI learning platform
Claude Code is so bugged and such a bad product

This can give seizures to some

The second they no longer have the best coding model, I'm out
January 10, 2026 at 4:34 PM
I used a plan md file with multiple phases and this was one phase

I had another agent look through the code base and create the plan first
January 9, 2026 at 11:01 AM
Broke my record, 122 files changed with Opus 4.5 in one prompt
January 9, 2026 at 11:01 AM
Claude did this while I was writing

21 files changed is not that much from one prompt anymore
January 8, 2026 at 4:00 PM
Hit 500+ users on Cosden Code

Huge milestone for me

Next one at 1k
January 7, 2026 at 11:04 AM
How's the air quality where you live?

Here in Belgrade it's pretty bad right now. Can't really go out without a mask

I'm on a hill right now, but I can't see anything below
December 20, 2025 at 2:18 PM
Hit $10k total revenue for Cosden Code today 🎉

Really proud of this but there's a lot of work ahead

Will slightly pivot early next year and things should go much better

Let's do this 🤙🏻
December 18, 2025 at 4:00 PM
2 weeks post launch MRR update

Things have slowed down quite a bit

Couple potential reasons: no free tier, upcoming holidays, didn't get enough good traffic, not enough content on platform

That's okay, it just means more work to figure this out

If boot dev can do it, so can I
December 17, 2025 at 3:56 PM
6. Have a lib folder for low-level utilities

The lib (library) folder is for anything shared that is not UI

So your database, your env, your 3rd party clients, etc

These don't need a UI to exist so they should go in their own separate folder (outside any features)
December 17, 2025 at 11:03 AM
5. Have a shared feature folder for UI

Any shared component, hook, type, server function, or whatever goes in features/shared

That folder is only for UI stuff and follows the same structure as all the other feature folders
December 17, 2025 at 11:03 AM
4. Fetch at the navigation layer

Don't fetch in client components unless you have to

Instead fetch in your loader (or server components if Next.js) and pass the data down (or through RQ)

This makes your components simple, render less, and more composable
December 17, 2025 at 11:03 AM
3. Page components, feature components, and UI components

Your routes have one page component as the entry point

Each page component renders multiple feature components (TodoList, UserDashboard, FollowSuggestions, etc)

Feature components then use UI components
December 17, 2025 at 11:03 AM
2. Follow the single responsibility principle

That means that everything only does one thing

Your components render 1 thing, your hooks do 1 thing, your utility function does 1 thing

The complexity comes from putting everything together not the individual parts
December 17, 2025 at 11:03 AM
1. Organize everything by features

All your entities (users, posts, comments, dashboard, etc) should have their own feature folder

Inside, you should have folders for "components", "hooks", "server", "client", etc

You will also need files for types, constants, utils, etc
December 17, 2025 at 11:03 AM
The worst thing that you can do for your React app is to structure your code and files the wrong way

This creates a weak foundation that collapses anytime you add anything to it

You're basically having legacy code from day 1

Here's how to fix that 👇🏻
December 17, 2025 at 11:03 AM
Just added something that I think will really help conversions on Cosden Code

There's now over 250 users on the platform and growing daily

And just now I added a bundle for all yearly plans that gets you my 2 previous full-stack courses

Now is the best time to lock in and join
December 16, 2025 at 4:03 PM
Google Announced their new browser "Disco"

How is no one talking about this?

It literally builds UIs and serves them to users

Where's the "web devs are cooked" posts?
December 15, 2025 at 10:56 AM
The first person to finish all the launch content on Cosden Code 🤯

I was expecting this to take at least 2 months, not 2 weeks

Congrats dude, new course will drop in Jan

Until then, take a break and enjoy the holidays, well deserved
December 12, 2025 at 11:03 AM
What's the best way to prefetch your data in Tanstack Start/Router?

The docs all show using "ensureQueryData" but that returns cached data even if it's been invalidated

I'm currently doing "fetchQuery" which accounts for invalidation but it doesn't feel right?
December 11, 2025 at 11:02 AM
My best performing video in a while

Apparently me moving away from Next.js was all it took

I guess I'll make more videos like this
December 10, 2025 at 7:27 PM
Vibe coding is creating a huge opportunity for those who know to code

Those who take this seriously right now will succeed

I built a complete roadmap on Cosden Code to teach you all the skills you need to be a successful full-stack React developer

Details below 👇
December 10, 2025 at 11:03 AM
My most viewed YT short (1.2m views) is me roasting my own code

Every day there are devs out there who see the horrendous code I wrote 8+ years ago
December 9, 2025 at 11:04 AM
Currently not vibe coding in the north of Sweden 🧖🏻‍♂️
December 6, 2025 at 6:46 PM
I believe I may have had my first word of mouth sale

Someone purchased using a discount code only sent to a few users and their email is not on that list

So someone must've given it to them

Really cool if true
December 5, 2025 at 4:00 PM
Latest YT video did alright

Most views are existing subscribers

Which is great, but I want to reach more new viewers too
December 5, 2025 at 11:02 AM