All of this would be far more interesting to me if it weren’t based on React. Almost any other technological choice would have been better, from my perspective. I get it, React developers are cheap because people have bought into the React hype.<p>To me, though, <i>especially</i> with hooks, React creates a bizarrely deep object tree that is impossible to reason about in comparison with pretty much every other tooling that exists.
Cool to see Shopify using Vite and contributing back to that project. I didn't know it would be so useful with React since it came out of the Vue world. But I've now read that Evan wanted to make it open to all frameworks which is the best approach.<p>My life has been made a lot easier since I ditched Webpack for Vite. Faster build times, way less complexity, cleanly breaks up projects into small .js files on a per-route basis etc.
I would love to see more in-depth explanations about Oxygen [0]. I'm currently creating a similar runtime [1] based on V8 Isolates so that would be interesting to compare.<p>[0]: <a href="https://shopify.dev/custom-storefronts/oxygen" rel="nofollow">https://shopify.dev/custom-storefronts/oxygen</a>
[1]: <a href="https://github.com/lagonapp/serverless/" rel="nofollow">https://github.com/lagonapp/serverless/</a>
I really don't like the idea that Shopify adopted React so deeply (Polaris is an example), not because I am a Vue developer but I would prefer Shopify to not be so opinionated about any framework.<p>VanillaJS is very advanced nowadays.
I have always wanted to use React with Shopify, but I feel binding the data manually from the Shopify API via GQL is very unergonomic. You have to understand Shopify API way deeper than usual to get started. There should have been basic but non-optimal ways to get data for 90% of the use cases already included. The GQL query they showcase is just complicated <a href="https://shopify.dev/custom-storefronts/hydrogen/getting-started/tutorial/products" rel="nofollow">https://shopify.dev/custom-storefronts/hydrogen/getting-star...</a> compared to the liquid way.
For anyone struggling with Tailwind, I would recommend Tailwind DX[0]<p>[0]:<a href="https://gimli.app/tailwinddx.html" rel="nofollow">https://gimli.app/tailwinddx.html</a>
This is huge, and I think it could have implications beyond the ecommerce store. I know it relies heavily on React Server Components, is part of the long tail on this due to the fact that those haven't shipped in stable yet?
The number 1 thing you guys need to check is how do static, vs react, vs any other framework or front end approach do for your users in SEO. Then build with that approach.
Going to take this as an opportunity to ask, has anyone here worked with <a href="https://www.reactstorefront.io/" rel="nofollow">https://www.reactstorefront.io/</a><p>It looks like a very competent solution but would like to hear from actual users
I don't want to be mean, but the name should be more descriptive, and not pollute the global namespace.<p>"hydrogen" has quite a specific meaning as a chemical element.<p>Shopify:Hydrogen might work, but why? It gives no clue about it's function, goals, or anything.<p>How about Shopify-React? Reactify? Shopiract? Use your brain, as I'm always telling my kids.