Giter VIP home page Giter VIP logo

commerce-framework's Issues

Can't undestand some parts of the code

Hi there, I hope this question might be too obvious but I've been searching to find an answer without much success. I'm debugging the code of this repo because I want to implement something like that but I got a couple of doubts.

The first one is why this is necessary https://github.com/vercel/commerce-framework/blob/master/src/commerce/use-customer.tsx#L3 I mean I don't know why that is necessary to do it, instead of import useData from './utils/use-data' where it's needed.

The second one is this part https://github.com/bigcommerce/storefront-data-hooks/blob/master/src/use-login.tsx#L49 I was studying the code of vercel commerce and I found that pattern to create hooks from bigcommerce. I was not able to understand that, how that extend works?.

I know these questions are not issues but it seems to me a good way to learn if anyone can give me some feedback about it or at least some resources for a better understanding.

Thanks.

Integrating woocommerce

Hi!

My friend took in an interest on wanting to use this project, but there's only support for BigCommerce. He recommended that I could try to find a way to integrate WooCommerce. Is there any advice on how I can get started?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.