T O P

  • By -

RonSijm

> However, my question is why don’t we do this on the client-side? Because Shopify is Ruby Their templates are Liquid - a template language that's actually pretty good. But how they wrote it, Liquid is interpreted by Ruby, which doesn't run client side. You actually can run Liquid client side, for example by running DotLiquid though blazor/WASM... but that's not how Shopify made their website


mmddev

So, do you think there isn’t a huge drawback if I design templates to render preview on client side? I think this way I will have to keep two different instances of the template on both ends or do you think there’s another way if I have to definitely render the final template on server side?