
Senior Software Engineer @Alokai
Kutno, Polska
Joined April 2020
- Tweets161
- Following218
- Followers31
- Likes239
Emails should not be stuck in the past.
Sign up for the @newdotemail waitlist today.
new.email
grixu retweeted
Replying to @AndaristRake
I was trying to figure out why I haven't hit this more in Zod
it's because superclass constructors get called before property initializers in the class body, and I use this "def" pattern everywhere
potentially not a bad workaround here
Nice! I already got my @ViteConf ticket! Get yours too! viteconf.org/24/tickets/grix…
grixu retweeted
Most coding tutorials teach you to code like a GPS teaches you a city. Following along works fine until there’s a problem and you have to detour.
That’s why people get stuck doing tutorial after tutorial. They aren’t actually learning much.
grixu retweeted
🔥It's official🔥
👿Evil Apple is back, and it's killing PWAs on iOS for EU users🇪🇺
"To comply with the DMA’s requirements, we had to remove the Home Screen web apps feature in the EU.
-"Very low user adoption of Home Screen web apps"
-"Minimal impact to their functionality"
grixu retweeted
Wow! AWS released their own JS runtime! The devil is in the details, and this is only tailored to be a runtime for Lambda. I’ll definitely tinker with it!
Instead, why didn’t work to optimize
Node.js and contribute back?
buff.ly/3SSeLGX github.com/awslabs/llrt
grixu retweeted
You are not your job. You are not a particular JS framework. You are not your code. You are far more than all that, so don’t act otherwise.
grixu retweeted
WebSocket support is coming to MSW!
But before it does, please help us shape it by providing feedback on this RFC:
📜 github.com/mswjs/msw/discuss…
If you're working with WebSockets, please participate in that discussion! You'd be helping thousands of developers mock APIs better.
grixu retweeted
One thing people should be more aware of is that crunching and working late for a long period of time has much higher chances of burning you out so hard that you will need to take a long break and loose all career advancement instead of pushing it forward. It will also most likely happen at the most undesirable moment.
Weekends fully off, 1-1,5 week of vacation per quarter can take you much further than crunching all the time without breaks.
grixu retweeted
📕 Upcoming Vue 3 “Vapor Mode”
👉🏻 "Let’s take a closer look at what Vapor Mode is, how it works, and its future! "
javascript.plainenglish.io/u…
grixu retweeted
I love the @raycastapp @vuejs docs extension, so handy! 🫡
grixu retweeted
When should you code FAIL FAST?
🔥 #ARCHITECTURE #FOCUS 🔥
What FAIL FAST is ❌NOT❌?
💥 #javascript’s NaN: ‘hi mom’ * 5...
💥 why does a platform perform a stupid operation?
💥 why doesn’t it EXPLICITLY notify the developer (by throwing an error)?
FAIL FAST is:
🥊 a design technique (or coding style)
🥊 similar to “strong typing”
where:
🥊 if something MIGHT be incorrect, it FAILs explicitly
🥊 you check your state along as the logic is performed
🥊 as soon as possible
🥊 so that we don’t carry on with an INVALID situation
🥊 and we DON’T WORK AROUND the problem instead of solving it
🧟 same as with mutation testing: kill the mutants! 🧟🧟🧟
🪓 if something doesn’t make sense -> BREAK IT! 🪓
CONSEQUENCES?
🪚 your codebase would throw way more errors 🐛
🪚 you’d have to handle them 👷♂️
🪚 … but you also GET RID OF all invalid/inconsistent states 💪
BTW 🟥FAILING BUILDS 🟥 adapt the 🟥 FAIL FAST 🟥 strategy
🟥 Even if the linter raises an error, you shall not be able to deploy.
Examples of FAIL-FAST:
💣 DON’T ALLOW to create an invalid/inconsistent object
💊 FIX: conditionally throw an error in your constructor, if any data/logic is inconsistent.
💣 if you expect something and don’t get it, FAIL FAST by throwing an error
💊 FIX: #typescript assertion function
💣 Don't rescue your logic by introducing meaningless defaults like #javascript/#typescript “?? []” - WHY IS THE ARRAY NOT THERE IN THE FIRST PLACE?
💊 FIX: if you want an array to be guaranteed somewhere… then f🤬🤬🤬ing GUARANTEE IT 😅
💣 AVOID OPTIONAL PROPERTIES as much as possible. Optional properties multiply number of potential states, where majority of them is usually invalid.
💊 FIX: Introduce a #typescript union instead.
🤮 sidenote: leaky data structures are the worst… 🤮
There’s plenty of space to apply FAIL FAST techniques within your #angular, #react and #vue applications. Just don’t let any doubtful state leak into your logic.
See examples below:
grixu retweeted
Type Argument Placeholders are probably the most discussed feature coming to TypeScript 5.2.
OSS maintainers are keen for fixes for a long-standing TypeScript problem: partial inference in type arguments.
This is a good step forward, but some have argued not far enough.
grixu retweeted
The best way to understand new technology is to learn how it works under the hood 📖
Let's take a look at Vue Storefront SAP Commerce Cloud SDK Integration architecture 👇
grixu retweeted
Fresh from the oven and baked with love 🍲
Our new integration-boilerplate, which allows you to build a custom integration using our new SDK architecture, is finally liiive 🚀
Repo 👉 github.com/vuestorefront/int…
Blog post 👉 vuestorefront.io/blog/build-…
grixu retweeted
Introducing our new, framework-agnostic, Magento 2 integration 🚀
Built using TypeScript, the Magento 2 SDK is the bridge that'll seamlessly connect your backend to your storefront. Oh, and did we mention it's open-source?
Test it (and give us a star) 👉 github.com/vuestorefront/mag…
grixu retweeted
Web Storage changes for Safari 17
🚫1GB limit per origin is GONE
🫙Storage API now fully supported
⛽️Quota is set per origin based on available space
🏴☠️It seems 7-day cap is gone 🤔
📦Sandboxes:
-One per profile
-Web Apps iOS/iPadOS
-Web Apps macOS (cookies copied on install)
grixu retweeted
The value of good DX goes far beyond happy devs!
In this article, I'm sharing why investing In DX could be the biggest growth hack for your company - no matter if you're building dev tools or consuming them.
Based on @VueStorefront story.
dev.to/vue-storefront/invest… #javascript
grixu retweeted
Storefront UI 2.1 is out ⚡️
👉New Scrollable base component and utility function for mobile-friendly scrolling
👉10 new blocks including Mega Menu, Cards, Order Summaries, and more
See what's inside the package in this video by @SergiiKirianov
docs.storefrontui.io/v2



















