Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Releases: RickWong/react-transmit

Release 3.2.0

21 Sep 21:47
Compare
Choose a tag to compare

Updated dependencies. Merged PRs.

Release 3.1.7

13 Sep 22:12
Compare
Choose a tag to compare
  • 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.)

Release 2.6.4

16 May 00:02
Compare
Choose a tag to compare
  • 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.

Release 2.5.3

04 Apr 14:23
Compare
Choose a tag to compare
  • 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.

Release 2.3.2

01 Apr 23:31
Compare
Choose a tag to compare
  • React Native support via npm install react-transmit-native
  • setQueryParams(..., optionalQueryName) can be used to fire a specific query.

Release 2.2.1

28 Mar 14:21
Compare
Choose a tag to compare

Isomorphic

Caching

Preloading

  • getAllQueries() allows preloading query results before, for example, transitioning routes. (#4)

Release 1.1.0

25 Mar 17:01
Compare
Choose a tag to compare

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

Release 1.0.0

24 Mar 00:00
Compare
Choose a tag to compare
Finished example app.