Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T06:04:53.000Z (almost 10 years ago)
- Last Synced: 2024-10-05T10:47:00.029Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 9
- Watchers: 3
- 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.