Synchronizing state across multiple instances of the same Shopify Checkout Block.
Sounds tricky, right?
There are no native APIs for state synchronization. But if you know that only one instance of the checkout block is created - sharing the same global variables - the task becomes much simpler. In fact, you can just use an array to track a list of subscribers and send them notifications.
If you need to synchronize state across _different_ checkout blocks, though, it gets a lot trickier. In that case, you might have to resort to using cart attributes - unless someone knows a better way!
What do you think about this approach?
1
92
I’ve been interviewing candidates recently for the React.js/Node.js position at ShipperHQ, and a few recurring issues stood out that I thought were worth sharing.
Instead of simply iterating over characters in a string, some candidates are creating an array from the string and then looping through the array. Why? Sometimes, knowing the basics goes a long way in crafting performant, elegant solutions.
**The fundamentals compound - master them.**
Another odd thing that stood out was that only one candidate used Cursor or tried it. Most still treat LLMs like fancy autocomplete tools and don’t trust them to write actual code. Well.. that's just wrong. Sure, LLMs can occasionally spit out suboptimal solutions - but if you look at the average productivity boost they provide - there's no debate. They are a game-changer.
**Embracing new technology and integrating it early into workflows pays off IMMEDIATELY**
#javascript #SoftwareDevelopment
1
2
393
Stanislav Sm. retweeted
Checkout extensions stopped working. Getting "fetch is not allowed" error. Help please? @liam_at_shopify @gilgNYC @ShopifyDevs @ShopifySupport
We are getting "fetch is not allowed" in checkout extensions. Looks like other apps are also affected. Send help please! @liam_at_shopify @ShopifyDevs @ShopifySupport
2
7
576
Hey Shopify devs, does anyone know a proper way to hide some of the checkout extensions when serving from checkout extensions from a dev server? It used to be possible via /extensions/dev-console, but now it seems there is no way.. @gilgNYC maybe you know some way to do it?
2
8
612
Looks like Computer Use for ChatGPT is not too far away 🙂 are you using 'Computer Use' with Claude already? For which tasks?
2
147
Here is a useful TypeScript type utility to use in the tests when you want to use types, but want to make properties on all subtypes optional recursively
3
139
The last few days, I've really been missing a way to check the shipping rates loading status in #Shopify checkout extensions. Is there any point in creating an issue on GitHub?
1
1
180
Stanislav Sm. retweeted
Coming to ATX for #BigSummit?
Our meetup is now THE event to attend. With @ShipperHQ, @klaviyo , @NoibueCommerce ,@irish_titan, @triplewhale , & Smarterships joining as sponsors.
RSVP below. hubs.li/Q02LXBrJ0
See you there!
#eCommerce #BigCommerce
Stanislav Sm. retweeted
Announcing Shop Quest - Developer Edition! 🥳🔥🔥
Bringing Shopify Agencies & @ShopifyDevs under one roof on the 4th of October!! 🙌
Registrations open soon!
Thank you to @liam_at_shopify for supporting us with this event!
Took family for a month trip to Portugal. Will travel and work :) Never did before while kids were small.. but now they are way more ok with long drives 🙂
3
134
Stanislav Sm. retweeted
I am looking for suggestions to attend #eCommerce, #Shopify, #marketing, and #B2BSaaS meetups/conferences in #Bangalore, #Hyderabad and #Chennai.
Appreciate the help!
Shopify did an awesome job with the split shipping implementation! It was fun working on its integration. We’ve completed some speed optimizations for the latest version of Enhanced Checkout, and it is now the fastest version we’ve ever released w/ split-shipping support
141
With Shopify metafields, you can store all sorts of useful info. Think warehouse details, delivery and pickup dates, and more 🙂
1
8
885
#Shopify just dropped split-shipping support at the Shopify Editions conference last week (which I missed because my visa wasn’t ready… 😢).
Been grinding for the past three weeks to get this feature integrated with ShipperHQ's Enhanced Checkout. And it’s almost there 🚀












