正在加载视频...

视频加载失败

if you’re a react dev but the project uses vue, use vue if it’s an app using inertia, don’t introduce livewire if they use enums for statuses, don’t use strings if the team uses the actions pattern, follow it consistency > personal preferences

38,043 次观看 • 1 年前 •via X (Twitter)

11 条评论

Newton Job 的头像
Newton Job1 年前

Agree, but, it's easy to get stuck in a pattern that's not so well thought out. I will say: follow the current standards in new code and gradually refactor and migrate old code over time.

Defi App 🎩 的头像
Defi App 🎩1 年前

🚨BREAKING: Defi App beta is live Crypto's first all-in-one SuperApp is here: - Instantly buy any token on any chain - 10x long memes & majors - No gas, no bridges, no KYC - AI Trading Agents - Self-custody Sign-up on First 1,000 users heavily rewarded

Boris Glumpler 的头像
Boris Glumpler1 年前

I actually like mixing Livewire (as in Filament admin panels) and Inertia (for the frontend) in my apps. Wouldn’t use them both in the same place, tho.

Vítor - e/acc 的头像
Vítor - e/acc1 年前

but ....

Steve Bauman 的头像
Steve Bauman1 年前

This is so incredibly important. And if you have to introduce a new way of doing something, then the whole application should be updated to follow suit. Otherwise fragmentation occurres and the problem gets immensely worse

stijn sagaert 的头像
stijn sagaert1 年前

But if that person leaves. You're the master of your own possible demise.

UDAYKIRAN CHENNA 的头像
UDAYKIRAN CHENNA1 年前

👍 agree.

Luis Eduardo Cruz 的头像
Luis Eduardo Cruz1 年前

There’s an exception to that rule: if the project uses PHPUnit, you do a drift 😉

Michael Timbs 的头像
Michael Timbs1 年前

consistency maintains the status quo. If the codebase is a dumpster fire then consistency means it will never improve

Justin 的头像
Justin1 年前

instructions unclear im now using string backed enums

JustSteveKing 的头像
JustSteveKing1 年前

How about my consistent preferences 😜

相关视频