This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Tweak renderToStringWithData API, add updateQuery and bug fixes
Breaking
// old
renderToStringWithData(component).then(markup) // markup had a script tag
// new
renderToStringWithData(component).then({ markup, initialState }) // markup has no tag, and state is passed
Features
- Feature: Removed client as a prop and fixed warnings when not using ApolloProvider #189
- Feature: Added updateQuery to data props