Remix.run Logo
defactor 5 hours ago

I have to tell claude specifically to use plain html css js, else it goes on building react

billyp-rva 5 hours ago | parent | next [-]

There was a time around 2016 where you weren't allowed to write a React application without also writing a "Getting Started with React" blog post. Having trained on all of that, the AI probably thinks React is web development.

paxys 5 hours ago | parent | prev | next [-]

Tell claude to build a functional website using plain html and css and no frameworks and it'll do it in a second. Now try that with a junior dev.

FeteCommuniste 4 hours ago | parent [-]

I guess juniors are different these days. In my generation a lot of people's first contact with code was doing basic (html, css, bits of js) web development. That was how I got started at like 12 or 13.

rsolva an hour ago | parent | prev | next [-]

Just write up your requirements in and AGENT.md, to avoid repeating yourself. It has worked really well for me on a PHP+Apache project.

alainrk 5 hours ago | parent | prev | next [-]

Indeed, this has been one of the first things I've noticed

quaintdev 5 hours ago | parent | prev | next [-]

Few months ago I did exactly this. But over time I threw away all the generated js,css and html. It was unmaintenable mess. I finally chose Svelte and stuck with it. Now I have a codebase which makes sense to me.

I did asked AI to generate landing page. This gave me the initial headers, footers and styles that I used for my webapp but I threw away everything else.

5 hours ago | parent | prev [-]
[deleted]