简体   繁体   English

为什么 Shopify 电子商务网站使用 react 来建店?

[英]Why Shopify ecommerce website uses react to build the store?

I am new to React language.我是 React 语言的新手。 I have been working in the Shopify store for a year.我在 Shopify 商店工作了一年。 Now they updated their store to React.现在他们将他们的商店更新为 React。 if React is for the single page web/application then Why Shopify Implemented it?如果 React 适用于单页 Web/应用程序,那么为什么 Shopify 实施它? I Really need to understand this.我真的需要明白这一点。

No assets from Shopify are ReactJS save for Polaris, used for creating EASDK Apps.除了用于创建 EASDK 应用程序的 Polaris 之外,Shopify 的所有资产都不是 ReactJS。 There is no obligation to use this Polaris library.没有义务使用这个 Polaris 库。 This question is not really accurate.这个问题不是很准确。 No store in Shopify has to use React, but an EASDK custom App could, if you choose to use the Polaris ReactJS library. Shopify 中的任何商店都不必使用 React,但如果您选择使用 Polaris ReactJS 库,则 EASDK 自定义应用程序可以。 No obligation to do so.没有义务这样做。

Short Answer: No (few) Shopify commerce websites use React to build their shops.简短回答:没有(很少)Shopify 商业网站使用 React 来建立他们的商店。 They use Liquid, HTML, CSS and JS yes, but not React as that is not really appropriate for shops themselves.他们使用 Liquid、HTML、CSS 和 JS,是的,但不使用 React,因为这并不适合商店本身。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM