Relay Modern provides an update way that solves the delay to update client data from server response.
Data fetching is a hard problem. How to ask data to a server? When to ask data to server? How to make…
̶R̶e̶l̶a̶y̶ ̶M̶o̶d̶e̶r̶n̶ ̶p̶r̶o̶v̶i̶d̶e̶s̶ ̶s̶o̶m̶e̶ ̶e̶x̶p̶e̶r̶i̶m̶e̶n̶t̶a̶l̶ ̶d̶i̶r̶e̶c̶t̶i̶v̶e̶s̶ ̶t̶o̶ ̶m̶a̶k̶e̶ ̶i̶t̶ ̶e̶a̶s̶y̶ ̶t̶o̶ ̶s̶o̶l̶v̶e̶ ̶s̶o̶m̶e̶ ̶c̶o̶m̶m̶o̶n̶ ̶p̶a̶t̶t̶e̶r̶n̶s̶.̶
There is simple way to use Refetch container as Pagination container. It took me a while to get my head around pagination container and how it worked. Let’s start:
In a recent commit to Relay 1.2, it was added a third argument to refetchConnection, the…
There are a lot of advice to have dumb and smart components when using pure React, or React with Redux/Mobx.
However this can be an anti-pattern sometimes when using React with Relay.