notrab / react-use-cart

React hook library for managing cart state

Home Page:http://npm.im/react-use-cart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Create React App example

notrab opened this issue · comments

Using Create React App, we should add a basic demo showing how to wrap the global CartProvider and make similar function calls to those in #33 #34

Hi @notrab, I saw this as a good first issue. What are you looking for in an example in comparison to the demo and would you ideally be avoiding React UI frameworks?

@vmcodes it might be worth looking at #34 and the associated PR by @spences10 to replicate something similar for CRA.

I'd probably avoid all styling as well, and just keep it super vanilla.