
StyleShit
36 posts

StyleShit
@StyleShit_
⚡️ Full-Stack Developer 🎤 Public Speaker 💖 CSS artist 🎨 https://t.co/Lshf20dBh7 👨💻 https://t.co/poa8RD1mpo
Katılım Mart 2022
250 Takip Edilen8 Takipçiler

@kettanaito Ah sorry, I wasn't clear
I'm not saying that things are missing, I'm using MSW and it's awesome!
I tough you're asking how to advertise it in X so more people will be familiar with it 😅
English

Thanks!
Short comparisons with other libraries: mswjs.io/docs/comparison (literally cannot do shorter without losing context).
You can use everything you see in the docs in tests 1-1. That's one of the selling points of MSW. Your mocks stay the same.
We've got a bunch of full-app examples as well: github.com/mswjs/examples
Anything else that's missing?
English

@pawelblaszczyk_ @kysely_ Typescript 6 support should be released today
#issuecomment-4149852796" target="_blank" rel="nofollow noopener">github.com/typescript-esl…
English

@kysely_ 5.9, in my experience the only thing that slows me down from updating is stuff like TS ESLint support 😄
English

@thymikee @sebastienlorber But what about cases you have to use it? e.g., running in the context of the base repo
It's a security risk, but it still does make sense not to expose secrets in workflows coming from forks
English

@sebastienlorber GitHub should get rid of the `pull_request_target` honestly
English


@oriSomething People think that if it's on npm it's for sure good code with the ideal implementation
English

@sanxiaozhizi Wait, what?
I just needed this few hours ago! 🤯
I gotta plan my wishes better
English

🚀 tsdown 0.21.4 just dropped. CSS Modules are now supported.
Also, the `tsdown-migrate` skill lets your agent auto-migrate from tsup to tsdown.
❯ npx skills add rolldown/tsdown --skill tsdown-migrate
tsdown.dev/guide/skills
English
StyleShit retweetledi

@oriSomething AI has always been pretty bad with more than some simple types (at least in my experience)
But what's the issue? Now I'm curious
English

@kettanaito IMO both are fine as long as it's documented. I think it comes down to whether you want to allow overrides or not (spreading multiple handlers array for example, kinda similar to object merging)
English

@ryanflorence Start & end are positions in the HTML string?
What's the advantage of this approach compared to an element reference?
English
StyleShit retweetledi

@boshen_c @mileswjohnson Why?
It was a pretty straightforward setup for me (except the initial publish that still requires a token for some reason?)
English

@mileswjohnson Trusted publish, be prepared for the half day of waste time.
English

@colinhacks They should migrate to php instead
github.com/StyleShit/zod-…
English

starting work now on colinhacks/god
Brandon 🚀 Flightcontrol@flybayer
So far the hardest problem with having Typescript frontend and Go backend is that there is no Zod for Go. And we are heavily using Zod for our new pipeline and module configs. We're currently using go-playground/validator and encoding/json with a ton of custom code on top. And tons and tons of json fixtures that we run against TS and Go 🤨
English


built a new toc experience for my blog 📜
animated with @motiondotdev
inspired by @raphaelsalaja
English
StyleShit retweetledi

A few things I've noticed as all devs write code with AI.
When you write foundational / architectural code of a new project by hand, you "feel" the code pushing back if your abstraction isn't right. You feel when something is harder than it should be. The code is telling you it's not in the right shape. Good engineers are sensitive to this.
When you're using an LLM, you keep pushing right through this in a way that feels like you're making progress, and it may even be directionally correct in a sense, but the underlying foundation of it all is actually bad in a way that either kills progress of the LLM later as it buckles under the complexity it has created or destroys your ability to maintain the code long term.
Related to this, I see a general restlessness with just sitting and thinking about a problem for a while.
As I've been working on a new library here at Laravel, there have been days where it feels like I mainly just stare at my screen thinking about something. When Claude Code is at your fingertips, it's tempting to just start yapping into the terminal and watching code come out the other end. Again, directionally correct in some ways, but often doesn't land on the elegant solution that is waiting to be discovered.
English










