prchdk Profile Banner
pavel Profile
pavel

@prchdk

Followers
676
Following
3K
Media
75
Statuses
1K

product engineer, typescript developer and rational tinkerer, currently deseng @github

Internet
Joined November 2014
Don't wanna be here? Send us removal request.
@prchdk
pavel
2 years
It feels like everything comes down to taste and vibes.
1
0
3
@prchdk
pavel
23 days
installed claude using `bun install -g`, but auto-update never works // @jarredsumner πŸ₯ΊπŸ‘‰πŸ‘ˆ
4
0
12
@prchdk
pavel
7 months
Tying loading states to specific components leads to popcorn effect.
0
0
0
@prchdk
pavel
7 months
React is all about composition, and Suspense lets us compose loading states.
@letstri
Valerii Strilets πŸ‡ΊπŸ‡¦
7 months
My post about Suspense has already garnered 130k views. Is it really better for you to do this?
1
0
3
@prchdk
pavel
1 year
Useful script for ensuring that all Next.js pages have metadata. It came handy recently during the Pages Router β†’ App Router migration.
1
0
1
@BenjaminMcCann
Ben McCann
1 year
Node.js now has the ability to directly run code with TypeScript types! https://t.co/hkvtEPWI2m Current limitations: - Experimentally flagged - No transformations (enums, namespace, etc...) - No .js extension for .ts files - No running TS in node_modules
Tweet card summary image
github.com
It is possible to execute TypeScript files by setting the experimental flag --experimental-strip-types. Node.js will transpile TypeScript source code into JavaScript source code. During the transpi...
5
45
283
@prchdk
pavel
2 years
Server Actions are an alternative way to expose endpoints and should be treated as such. Even though they feel automagical, all practices for writing APIs still apply.
@RhysSullivan
Rhys
2 years
If you care about security for your NextJS app, stop using top level "use server" - it's way too easy to leak data Top level "use server" creates endpoints for all exported functions, even if they are never used on the client One accidental export can cause a ton of damage
0
0
2
@karpathy
Andrej Karpathy
2 years
# on shortification of "learning" There are a lot of videos on YouTube/TikTok etc. that give the appearance of education, but if you look closely they are really just entertainment. This is very convenient for everyone involved : the people watching enjoy thinking they are
689
3K
17K
@prchdk
pavel
2 years
@scottbelsky
scott belsky
2 years
taste > skills taste seems more scarce these days, and increasingly differentiating in the age of AI where so much of skills-based productivity is offloaded to compute. makes me think about the development of taste, and how we nurture taste for the next gen of humans.
0
0
0
@prchdk
pavel
2 years
"We shape our tools, and then our tools shape us" is a quote I think about often.
0
0
0
@prchdk
pavel
2 years
when talk about this? https://t.co/ADwm3LkXIM
@ryanflorence
Ryan Florence
2 years
@jjenzz @kentcdodds For real. local first is probably endgame with a mix of this RSC stuff
0
0
0
@prchdk
pavel
2 years
wow. @ryanflorence nailed it. How he put it into a 'product' context instead of arguing which tech is better or worse is πŸ‘ŒπŸ‘ŒπŸ‘Œ.
@ubmit
gui de andrade
2 years
ok anyone whose work is related to webdev should probably watch @ryanflorence's "mind the gap" talk at @BigSkyDevCon great insights on how RSC bridges the gap between server and client https://t.co/sLsltDgd5W
1
0
0
@prchdk
pavel
2 years
can't reply to the tweet, but curious: is useEffect for reassigning refs even necessary @buildsghost?
@buildsghost
Jamie Kyle is on πŸ¦‹
2 years
Until React adds an API for it, this has become my automatic response to any callback that needs to be passed into an effect. Wrap it with a ref and you won't ever have to worry about it again
1
0
0
@prchdk
pavel
2 years
checking-in at my friends' design studio πŸ™@alesnesetril @marianfusek
0
0
4
@prchdk
pavel
2 years
TIL: you can highlight text in a GitHub comment and press `R` to reply only to that automatically. (instead of clicking the three-dot button and then Quote reply and then deleting part of it)
0
0
2
@prchdk
pavel
2 years
'Framework for TypeScript' is so far the best description of @EffectTS_ I've heard.
@EffectTS_
Effect | TypeScript at Scale
2 years
Effect is a meta-framework for TypeScript that takes it to the next level and helps handle code complexity, async code, dependency injection, and error handling in a type-safe manner. A talk by Aleksandra Sikora @aleksandrasays at Effect Days. See next post for full video ‡️
1
0
4
@prchdk
pavel
2 years
React Cache is to Server Components what React Context is to Client Components.
1
0
2
@prchdk
pavel
2 years
Oftentimes it seems that the more senior people are, the less docs they think they need to read. It should be the opposite.
0
0
0
@prchdk
pavel
2 years
Does the tRPC proxy client cache response per each server request inside RSC? or do I need to manually wrap it with React `cache` helper ( https://t.co/6UuhJrjQ3t)? cc @alexdotjs
react.dev
The library for web and native user interfaces
1
0
1
@mer__edith
Meredith Whittaker
2 years
Telegram is notoriously insecure and routinely cooperates with govs behind the scenes while talking a big game about speech and privacy. Even their limited opt-in (roll their own) encryption is sus. The more you know 🌈
82
431
2K