Better HN
topnewbestaskshowjobs
Log inSign up

okbel

22 karma · joined Nov 29, 2016 (10y ago) · 5 submissions

software eng
Submissions

comment 4y ago · link · parent

Hi!!! `vercel/examples` maintainer here. We have some with Svelte and plain edge examples, but more importantly, what would you like to see?

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Wonderful, contact me as soon as we finish this one. https://github.com/vercel/commerce/issues/2

Let's do it!

comment 6y ago · link · parent

So sorry to hear that! I'll take a look at it. Thanks for the feedback

comment 6y ago · link · parent

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!