Comments (2)
We are moving away from the Edge Runtime here -> #1236
Server Components don't have to run dynamically, they can instead by rendered statically during the build. If you do not want any dynamic parts of your application that require running compute at runtime, you can remove that functionality from the template. For example, we use dynamic rendering here to read cookies and understand what is saved in the user's cart.
from commerce.
So basically any route that requires some dynamic functionality, like the cart, should be marked as runtime=edge, and everything else can just be static? I'm also confused, in your pull request, you remove the Suspense around Related Products, in app/product/[handle]. But, you are doing a data fetch request in the Related Products component, so why is suspense removed?
from commerce.
Related Issues (20)
- Wrong navigation/pages path HOT 1
- 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 6
- 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
- Code for Cart Discount
- Implementation of Shopify analytics HOT 1
- Products not showing in category page
- Hidden: Homepage Featured Items not reflecting on live site HOT 2
- Error in Add to Cart and Edit Cart Form HOT 1
- sitemap.xml & robots.txt points to Vercel's domain HOT 1
- Error cloning and deploying
- Vercel Deploy fails to build
- build erros HOT 1
- Feature: Customer Accounts HOT 1
- Performance levers around router.push and Suspense HOT 5
- Can't install cross-env due to some eslint peerDeps errors in `npm i -D cross-env` HOT 1
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.