Re:Claude 4
by brulard on Thursday May 22, 2025 @03:44PM
(#44066002)
It knows about Svelte 5 for some time, but it particularly likes to mix it with Svelte 4 in very weird and broken ways.
[ Parent
| on HN ]
Re:Claude 4
by DonHopkins on Friday May 23, 2025 @03:23AM
(#44070675)
Or worse yet, React!
I have experienced this for various libraries. I think it helps to paste in a package.json in the prompt.
All the models seem to struggle with React three fiber like this. Mixing and matching versions that don't make sense. I can see this being a tough problem given the nature of these models and the training data.
I am going to also try to start giving it a better skeleton to start with and stick to the particular imports when faced with this issue.
My very first prompt with claude 4 was for R3F and it imported a depreciated component as usual.
We can't expect the model to read our minds.