HNHacker News
TopNewBestAskShowJobs

okbel

22 karma · joined November 29, 2016

software eng
submissionscomments
okbel··on Vercel Edge Middleware: Dynamic at the speed of static
Hi!!! `vercel/examples` maintainer here. We have some with Svelte and plain edge examples, but more importantly, what would you like to see?
okbel··on Next.js Commerce store, one-click deploy to Netlify
The title looks pretty misleading IMO. Next.js Commerce can be found here (https://nextjs.org/commerce) and it's not related at all to this repo shared here.

Some notes:

- This looks like a SPA - And it's a really bad pattern for e-commerce.

- There are a lot of issues with Web Vitals. TTFB is blocking user interaction.

- Looks like SEO (due to SPA) is not being correctly populated?

- It's using Redux (Why??)

- Uses React Classes (Why???)

I'd recommend taking a look at https://nextjs.org/commerce where you can check all recommended patterns from Next.js 10 and more to deploy a successful e-commerce site.

Next.js Commerce supports:

- i18n Internationalization

- Lazy and eagerly loading Images with the Image Component

- Responsive by default

- UI Components

- SEO Ready

- Easily Customizable with TailwindCSS - Themes!

- Data Hooks - to fetch data from your headless e-comm of preference. (BigCommerce support by default)

- Site Speed due to Incremental Static Regeneration and blocking rendering/fallback when needed.

- Auth

and if you deploy with Vercel you have Analytics to stay on track - REAL Web Vitals are key for successful e-commerces.

This means you can easily clone this and run your own store with good practices: e.g https://chicos-commerce.vercel.app/ - Also built with Next.js Commerce.

okbel··on Next.js Commerce – Starter kit for high-performance ecommerce sites
Wonderful, contact me as soon as we finish this one. https://github.com/vercel/commerce/issues/2

Let's do it!

okbel··on Next.js Commerce – Starter kit for high-performance ecommerce sites
So sorry to hear that! I'll take a look at it. Thanks for the feedback
okbel··on Next.js Commerce – Starter kit for high-performance ecommerce sites
Absolutely. Thanks for the feedback, drchiu. I'm @okbel, actively working on Next.js Commerce. Right now the codebase is tightly coupled with BigCommerce, but in the near future (following days) we plan to add multiple data providers. I'm about to edit docs/bigcommerce.md to clearify usage. Thank you!