-
I'm wondering what the best way to build a store is. I was considering using Skeleton and just installing Tailwind on our own. I then noticed Hydrogen Demo, but saw that it was not moved to separate repo. My question is that the Skeleton seems to get more updates and more frequently, so it seems like developing off of Skeleton is better. Do you plan to keep the Skeleton and Hydrogen Demo in synch so the Hydrogen Demo will always get the latest Skeleton update? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It's very challenging to keep everything synchronized. I have been developing a hydrogen store, starting with a basic skeleton. Later, I decided to use Mantine UI. As time progresses, your code will begin to look different, and you can't just upgrade to latest version. Every three months they release new bugs and features, then I copy my code into a new skeleton just to upgrade to the latest version My code now use the old account api, the latest skeleton use the new account api, I can't just upgrade, I must get a fresh skeleton and apply my code on top of the new skeleton. I'm waiting now for april release so I can do that, it take me more or less some hours to do that. |
Beta Was this translation helpful? Give feedback.
-
The skeleton template is a more appropriate starting point for a new store. It less opinionated than the demo store. It's what you get when you run |
Beta Was this translation helpful? Give feedback.
-
So I spent the last few days coding with the Dawn theme in Liquid. What a pleasure. It's quite easy to customize anything with a bit of javascript and CSS. Updating the theme? A breeze. Hydrogen/Remix is precisely the opposite. I'd say it's nearly impossible to maintain, because by the time you finish building, they have already changed so much in the core, you have to build many things again. You end up wasting tons of time just fixing things that should work out of the box. From my perspective the only way Hydrogen will ever work for Shopify is if they actually have a starter theme that has everything , is constantly maintained, and looks good. Sort of like a Dawn theme for Remix. Then they should have a "plugin"/"swizzle" type system to override core templates so you can easily customize things without fear of missing out on new updates or having to refactor every few months. They should take a look at how Docusaurus does with swizzling and plugins. It's a great system. Yeah, you are somewhat constrained in terms of design under this type of framework (most Docusaurus sites look the same), but that is really irrelevant nowadays, because consumers expect e-commerce websites to look a certain way now and there is no benefit in looking that much different. So if they just had a decent e-commerce theme with Tailwind, it would be fine for 90% of cases, and when you need a customization you can "swizzle" or develop a plugin. Right now, by the way, the Demo Store Tailwind theme is missing alot and I could never just start with that. |
Beta Was this translation helpful? Give feedback.
The skeleton template is a more appropriate starting point for a new store. It less opinionated than the demo store. It's what you get when you run
npm create @shopify/hydrogen@latest
. The demo store is much more opinionated with a specific design. I recommend using the skeleton template as your starting point, and the demo store as a reference for more advanced features.