Skip to content

Instantly share code, notes, and snippets.

@ryanflorence
Created October 5, 2018 16:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ryanflorence/104ed890edb865e11d9ed96060e9e6ef to your computer and use it in GitHub Desktop.
import cache from './cache'
import InvoiceResource from './InvoiceResource'
let Invoice = ({ invoiceId }) => {
let invoice = InvoiceResource.read(cache, invoiceId)
return (
<h1>{invoice.number}</h1>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment