zaff.dev
262 subscribers
80 photos
5 videos
176 links
random notes, thoughts and findings by @thezaff
ceo https://bodr.ing/
Download Telegram
Do we really need Arc now? When Edge introduces vertical tabs (yep, same as Arc),
Arc develops a command bar to create tabs in ChatGPT and new ways of sharing links and bookmarks 😕
Idk if it’s some foundation for cooler things, but it’s missing those Chrome killer vibes it had last year

Last update https://www.youtube.com/watch?v=vXi8L99p_D0
IT is a joke
🤡2
Те люди, у которых всегда дефолтная тема в IDE и редакторах. У вас вообще есть душа?
😁2
Forwarded from UfoStation
Advent of TypeScript

Набор заданий type challenge для TypeScript, который будет открывать по одной задаче в день с 1-ого по 25-ого декабря и может послужить отличным поводом или дополнительно попрактиковаться, или изучить работу типов в языке.
👍6
You’re a React / Next.js dev. How you name your component files?
Anonymous Poll
60%
PascalCase
28%
kebab-case
11%
other (I’m a creep, I’m a weirdo, what the hell am I doing here)
zaff.dev
You’re a React / Next.js dev. How you name your component files?
I am used to kebab-case for the last 4-5 years. Because a while ago Git was not able to track filename changes, if you only change the letter cases.
E.g: header.js > Header.js would cause, that in your FS you would have new name for the file (`Header.js`), but you would still commit header.js.
This, in turn, would cause your imports fail to resolve, on whatever env you clone your repo 🙂
I am starting to work on a new project. So I think I'll be gathering a lot of opinions in next posts.
My previous project lasted for around 2 years, and there was not much freedom in terms of choices.

If you start a new Next.js project, what would you choose to write styles?
I am considering tailwindcss.com + cva.style

I need something:
1. Three-shakeable
2. Does not require JS in runtime
3. Composable + safe at the same time

CVA seems to provide the safety and composability, but it's still beta. So I'm worried a bit :)
PocketCasts wrapped
❤1👍1
What project structure are you using with next.js?
- Do I get customer support service?
- Yes
🤯3
How do you implement a carousel in 2024?
👍1
zaff.dev
?
Why is this anonymous? 🙁
Ok, explain your point in comments