piecyk (@piecu) header
piecyk (@piecu) profile picture

Software engineer at @corsearch

Rzeszów, Poland
Joined December 2007
Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)Photo by piecyk (@piecu)
Accidentally added a Git contributor on @Netlify ? Congrats, they’re now part of your bill forever. No remove option. Seriously shady. #Netlify #DarkPattern #DevTax #PayForever #WebDev
1
1
157
Be cautious when using array destructuring in performance-critical code. Repeated shallow copies can add up fast!
2
237
Thank you for your support, I really appreciate it 🙇‍♂️ It’s great to be part of @tan_stack community!
I'm sponsoring these MVPs because they put the "Stack" in @Tan_Stack: 🔁 @TkDodo 🗂️ @KevinVanCott 📝 @crutchcorn 🌎 @seancassiere 🌎 @schanuelmiller 🔒 @c_horobin 🥽 @piecu I suggest you do the same! Without them, we'd all be using useEffect, creating nested loops of doom, making links that take users nowhere and otherwise breaking the DOM on the daily.
9
806
Congrats 👏
After 3 months of development, the first alpha example of @Tan_Stack Start was deployed today! 🎉
1
260
flushSync basic like PAW Patrol, saves the day! Great video @ryanflorence 👏
Thanks to `flushSync`, you can finally manage focus in React again 🙌 (but I will always love this.setState)
156
Congratulations! Awesome release 👏
📢Announcing TanStack Query v5 🎉🥳 🤝 unified object API 📈 simplified, optimistic updates ♻️ sharable mutation state 🔀 suspense and streaming w/ RSC ♾️improved infinite queries ⚡️ ~20 % smaller 🛠️new agnostic devtools 💾 fine-grained persistence
1
157
Yes, having access to internal state makes i much more flexible, great work Devon 👏
I love how React Aria Components scales gracefully to advanced use cases while retaining a great DX. 🤩 Our new Advanced Customization guide covers how you can build custom compositional APIs with contexts, slots, and states, and mix and match with Hooks. react-spectrum.adobe.com/rea…
92
It is.
This post is from an account that no longer exists. Learn more
221
Calling getBoundingClientRect in ResizeObserver callback will `not` trigger layout thrashing.
1
483
😍
Quick clip on why the 'satisfies' keyword in TypeScript 4.9 is so dang cool
Great work @tannerlinsley 👏🚀
🎉🥳 Announcing @tan_stack Router - Routing for Apps! 🛡️ 100% TypeSafe 🔎 URL State Management 🔁 Built-in Caching ✅ Search Param Schema/Validation ⏲️ Auto Prefetching 🔀 Loaders/Actions ⏳ Async Elements + Code-Splitting 🌎 Framework Agnostic Core tanstack.com/router
1
2
Become a TypeScript wizard 🧙‍♂️🧙‍♀️
🧵 The Ultimate TypeScript Thread 🧵 Here's everything I've learned from leading TS dev teams and working on XState's core team. My goal is to turn you into a TypeScript wizard. And yes, this thread is EVERGREEN - I'll add at least 3 more tips a week 🚀 Let's get started.
1
Is it safe to mutate react ref in useMemo? 🤔 #React
1
2
In React Router v6 calling `navigate` in componentDidMount will throw a warning and prevent the navigation. Was reading the commit github.com/ReactTraining/rea… by @mjackson but don't understand why it's not safe 🤔
1
I fully agree that navigate should not be called in render phase, but what's wrong with cDM? Reported in github.com/ReactTraining/rea… got closed with comment that is by design and not to mix hooks with class components.
1
When element is positioned absolute with float numbers, using top/left should give the same results as using transform translate. Looks like chrome, edge positions the element bit incorrectly for some cases. On firefox and safari it's pixel perfect. codesandbox.io/s/cool-chandr…
Created a simple TypeScript plugin that runs tsc command and push output to webpack5. If you are using babel for transpiling, webpack for bundling and tsc for types - check it out! github.com/piecyk/tsc-webpac…
What are benefits of using fork-ts-checker-webpack-plugin in typechecking mode when babel-loader doing the transpilation rather than running webpack + tsc? Imho there are any, we can run tsc and pipe output to webpack logger github.com/piecyk/tsc-webpac…