Bret Little

Results 155 comments of Bret Little

Dev docs here: https://shopify-dev.shopify-dev-52pp.bret-little.us.spin.dev/docs/api/hydrogen/2024-04/hooks/useoptimisticcart

Ready for review at: https://shopify-dev.shopify-dev-g76q.bret-little.us.spin.dev/docs/api/hydrogen#setup

Testing notes: ✅ - skeleton template - `h2 build --watch` - successfully rebuilds as I modify files (everything I tried except the vite config, which I don't think matters) ✅...

I can only repro this issue 50% of the time or so, but when running `h2 build --watch --diff` inside `infinite-scroll` example. I modify a file, it rebuilds, and then...

@dvnrsn could you please sign the CLI, follow the instructions here: https://cla.shopify.com/

Yeah, I imagine the src set headers could get huge. I wonder though, is the extra loader prop necessary? Why not just: ```diff + import {genPreloadImageLinkMeta} from '@shopify/hydrogen' export const...

> I guess then there's no way to preload images for sub-sequent navigations? 😞 I was trying to think through this at the burst, and AFAIK there's no way to...

Closing due to lack of response. Please re-open if still an issue.

Unless we rethink this API with Remix middleware, I can think of two solutions for fixing the Customer Account API: 1. Like we force the user to commit the session,...

@frandiox @michenly part of me thinks it's better to not add an argument for now, and instead force the user to just handle it on the outside. Otherwise we are...