React Transmit Versions Save

Relay-inspired library based on Promises instead of GraphQL.

v3.2.0

7 years ago

Updated dependencies. Merged PRs.

v3.1.7

8 years ago
  • Transmit >= 3.0 now targets React 0.14.
  • Support deferred fragments through lambdas. Deferred fragments only run in on the client.
  • Mass-rename of functions, options, and other objects to resemble the OFFICIAL Relay API once again.
  • Implemented componentDidReceiveProps so rerenders now also refetch.
  • Added shouldContainerUpdate(nextVariables) callback-option to allow prevention of refetches.
  • Added Transmit.isContainer() and Transmit.isRootContainer() helper functions. (RootContainers in Transmit are technically Containers with initialVariables. Nothing fancy.)

2.6.4

9 years ago
  • The emptyView prop can now be a lazy callback.
  • Added Transmit.setPromiseConstructor for people who want to provide their own Promise implementation instead of using global.Promise. Also throws an Error at run-time if the platform's global.Promise is undefined.
  • Delete window.__reactTransmitPacket after first use.

Hey guys, thanks for all the contributions and constructive discussions. If there are any questions, you're welcome to open a new Issue. Your suggestions are appreciated.

2.5.3

9 years ago
  • setQueryPrams() now returns a Promise of the results.
  • onQueryComplete(err, results) renamed to onQuery(promise), should now receive a Promise of the results.
  • renderToString() now returns a Promise.

2.3.2

9 years ago
  • React Native support via npm install react-transmit-native
  • setQueryParams(..., optionalQueryName) can be used to fire a specific query.

2.2.1

9 years ago

Isomorphic

Caching

Preloading

1.1.0

9 years ago

Bug fixes. Rewrote the example to showcase 3 Transmit components working together.

1.0.0

9 years ago