Comments (3)
Interesting. Let's elaborate here.
There's two sides of the coin here. We can remove TypeScript but we'll have to add a lot of helpers/handlers because of the risk of a dynamic and not statically typed language (JavaScript).
When building products at scale, you can't always 👮♀️ everyone to use Components well and to -not-add- technical debt. TS types are incredibly helpful in that realm. You can specify function needs, declare structure, etc.
Also, enforcing the usage of types allow us and you to build better products. I highly encourage you to give it a try.
from commerce.
+1 it's a great project skeleton but there's actually very little that actually needs TS here.
from commerce.
Closing this for now, but open to reconsider keeping a branch updated just in JS.
from commerce.
Related Issues (20)
- A menu redirecting to a product does not work because of the link returned by Shopify Storefront HOT 3
- Combine with pages router? HOT 2
- Why is generateStaticParams not used for generating the different product pages? HOT 1
- Search Page: Incorrect Sorting Order of Items
- Getting error after command - pnpm install HOT 1
- Getting error on - pnpm dev HOT 1
- Policies have broken link: 500 error HOT 2
- Missing Social Media icons HOT 2
- Feature Request: Change Price and Image when selecting variant HOT 2
- GraphQl descriptionHtml vs Webhook API body_html
- Home page elements on https://demo.vercel.store HOT 7
- Branding changes do not reflect HOT 2
- Wrong navigation/pages path HOT 1
- Cost marking all components edge rundtime? HOT 2
- Overflowed Search on Tablet HOT 2
- How to add product metafield data HOT 2
- Proceeding to checkout gives 500 [GET] /cart/c/c1-abcd?key=1234 status=500 HOT 5
- View Page/Product always gives 500 HOT 3
- getCollectionProducts always get 500, SocketError: other side closed
- Slow loading of images on product page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commerce.