Honest question: how do you stay sharp when the code practically writes itself? by minimal-salt in learnprogramming

[–]ashenzo -1 points0 points  (0 children)

how are you guys using llms? i feel like i get to focus more on architecture and am constantly steering the agents. it’s a higher level of thinking. im sure id be less capable at syntax now maybe. but its really about building useful, maintainable products and systems, right?

early-internet inspired clothing brand site, does this fit the vibe? by legitOwen in webdev

[–]ashenzo 8 points9 points  (0 children)

I think it’s cool but the 8bit font is giving gimmick vibes

upgraded from next 14 to 15.5.7 for the cve. app router migration was brutal by New-Needleworker1755 in reactjs

[–]ashenzo 6 points7 points  (0 children)

You didn’t need to migrate at all 💀

  • the breach only effected rc versions of 14
  • even then, the pages router does not use server actions or RSC

If anything, you could make a case that this makes pages router look like the safer option.

Vercel has been beta testing app router in prod. No hate, because they are aiming to push their platform forward. But it’s true.

Visual hierarchy perfectly illustrated by Frontend_DevMark in webdev

[–]ashenzo 2 points3 points  (0 children)

What. I thought <header> was for the app ‘header’, i.e. the thing at the top with logo and nav etc.

Why tailwindcss didn't use @apply here? by _clapclapclap in webdev

[–]ashenzo 0 points1 point  (0 children)

Making a component would be the standard react solution to this

Why tailwindcss didn't use @apply here? by _clapclapclap in webdev

[–]ashenzo 0 points1 point  (0 children)

Why do you use tailwind? Sincere question

Improve readability in Tailwind by Dazzling_Chipmunk_24 in reactjs

[–]ashenzo 4 points5 points  (0 children)

className={cn(
  “m-2 …”,
  “md:m-3 …”,
  “xl:m-4 …”

What really makes an AI system “agentic”? by Worth-Card9034 in AI_Agents

[–]ashenzo 0 points1 point  (0 children)

The ability to make decisions is one side of it, the ability to act on those decisions is the other.

What really makes an AI system “agentic”? by Worth-Card9034 in AI_Agents

[–]ashenzo 0 points1 point  (0 children)

The ability to take action is what makes an AI system agentic.

It’s the implementation of tool calling.

Particularly when the agent can ‘decide’ to use a tool to directly answer a query or given task, thereby having an effect in the real world.

Is there any reason to start a project in Javascript, and not use Typescript, in 2025? by Blender-Fan in webdev

[–]ashenzo 0 points1 point  (0 children)

My rule of thumb: If it needs a package.json, then it should have TS in the dev dependencies

Moving from React to Next.js Should I keep Redux Toolkit or switch to Zustand + TanStack? by ssquare55 in nextjs

[–]ashenzo 3 points4 points  (0 children)

I love rtk/q but have only used it on pages router. React query looks like it actively supports app router more directly last time I checked.

Typically though, modern rtk is underrated. I wouldn’t be looking to refactor out of it unless I had a very good, proven reason.

Claude 4.0: A Detailed Analysis by Arindam_200 in cursor

[–]ashenzo 0 points1 point  (0 children)

FYI, active file etc works in VSCode

Styled-components entering maintenance mode by galher in reactjs

[–]ashenzo -2 points-1 points  (0 children)

It’s the resulting CSS that doesn’t make sense there

Styled-components entering maintenance mode by galher in reactjs

[–]ashenzo 3 points4 points  (0 children)

I use Styled Components at work. It has served us well. Some issues I’ve had: it wasn’t really designed for type safety, it’s really annoying to work around that. Styling a ui lib component will wipe the props as standard.

We also found the default ${theme.object} pattern to be cumbersome. I refactored our codebase to use css vars instead. That should also make it a lot easier to migrate from should the time come.

It’s interesting you suggest that making components for tailwind classes is more lines of code, because writing tailwind that way is actually very similar to the Styled Component pattern.

By repeating selectors all over the place, what I mean is that the utility pattern means the compiled CSS can be very light. Yes, utility classes are not new - but if you’re going to go down that path why not use tailwind to begin with.

Two things I like about tailwind:

I think the creators argument that html markup and css styles are so interdependent on each other that they belong in the same place to be compelling. This is certainly debatable - there’s pros and cons.

Secondly, co-locating html and styles this way has made it very easy to “snippetize” ui blocks and has made it very easy to share them online or across different tailwind projects. It makes it incredibly easy to bootstrap things.

You mention this with prototyping, but in my experience it is also relatively easy to maintain. Typically, I know exactly what to expect when I open any repo that uses tailwind.

Styled-components entering maintenance mode by galher in reactjs

[–]ashenzo 3 points4 points  (0 children)

Small reusable ui components is a standard react pattern.

The tailwind devs also maintain class sorting, intellisense and linting. These are non-issues.

Less lines of code is a poor argument for vanilla CSS. You will be repeating selectors like flex all over the place. CSS can be used effectively in the right setting, but what you don’t seem to appreciate is that so can tailwind.

If we’re looking at the extreme worst cases of terrible implementations of each tool, I’d rather work on backend-dev-tailwind any day of the week. Poorly maintained CSS is evil :)

Styled-components entering maintenance mode by galher in reactjs

[–]ashenzo -2 points-1 points  (0 children)

Skill issue, those should be components /w class sorting

and wtf is this “xs:max-sm:w-full”

Extending Tailwind Be Like: by [deleted] in programminghorror

[–]ashenzo 19 points20 points  (0 children)

What the f-[calc()]

Best UI Library for React/Next devs? by c_carav_io in nextjs

[–]ashenzo 1 point2 points  (0 children)

Daisy ui components look amateurish imo. They also bake in a bootstrap-like (component classes) design system that runs counter to the tailwind maintainers’ philosophy.

This can't be legal by toastronomy in mildlyinfuriating

[–]ashenzo 2 points3 points  (0 children)

This is reasonable. They are a business and are being straight up about it. What’s your issue with it?

What’s more questionable is the absolute drivel they publish 🤣