https://github.com/reggi/shopify-theme-react
Proof of concept for a Shopify Theme that uses React
https://github.com/reggi/shopify-theme-react
Last synced: 3 months ago
JSON representation
Proof of concept for a Shopify Theme that uses React
- Host: GitHub
- URL: https://github.com/reggi/shopify-theme-react
- Owner: reggi
- Created: 2014-12-10T06:00:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T06:04:53.000Z (over 10 years ago)
- Last Synced: 2025-03-29T00:11:12.998Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Shopify Theme / React
The two main files:
* [Fetching product json](https://github.com/reggi/shopify-theme-react/blob/master/assets/test.jsx)
* [Routing every template](https://github.com/reggi/shopify-theme-react/blob/master/snippets/routes.liquid)What was really cool was the polling on the ajax request to automatically update the state of a set JSON variable. For instance if I had a product type set as "Shirt" and changed it to "Pants" in the admin, it would automatically update on the page without refreshing.