📰 A React component library that makes it super simple to compose Contentful content into your sites and applications.
MIT License
Bot releases are visible (Hide)
react-contentful
to support SSR requestsContentfulCache
to ContentfulClient
which supports caching both SSR and client requestsgetDataFromTree
and RenderPromises
to handle the plucking and fetching of SSR requestsnext-contentful
parsers/fieldsParser.js
which is a generic parser that flattens a Contentful response to just the fields
values with a few values extracted from the sys
object associated with the fields
that are commonly referenced.How to use
section in README.md
Query
component to include onRequest
, onLoad
and onError
callback propsQuery
Query
tests to include coverage for callback props, except for onError
(running into issues testing that)