zaff.dev
262 subscribers
80 photos
5 videos
176 links
random notes, thoughts and findings by @thezaff
ceo https://bodr.ing/
Download Telegram
wat
🎉2
Wha’s New? Here
https://go.microsoft.com/fwlink/?linkid=2194905

Из киллер фич:
1. Добавили поддержку больше одного аккаунта
2. UI стал реально шустрее, похоже на что-то нативное
🔥4
If you use n as your node version manager (http://github.com/tj/n) instead of nvm, then you can face problems with installation of old packages on node versions older than 16, if you are using a mac with Apple Silicon CPU. Seems like nvm somehow builds the node from source code a little differently, than n.

I was f*cked for more than week trying to run old project on my machine, until I tried nvm.
😁1🤔1
Why use n? It seemed cleaner and faster, and is supported on fish shell. While nvm is not supported, if you use fish. You will have to install additional fish plug-in, which allows you to run bash commands, to make nvm executable to be available in env path. 🙂
There are already 2 new episodes of Rick and Morty’s 7th season out, how come I missed it, and no one told me?
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?