Support optional deferred props (and spinner components)
RickWong opened this issue · 2 comments
RickWong commented
RickWong commented
A Transmit implementation would either require adding a custom Promise.defer()
method to the Promise definition to tell Transmit to defer resolving the query... or much simpler without screwing with Promise definitions: add a getQueryDeferred()
method.
For the example from the screen captures above:
CommentList.getQueryDeferred("comments")
nicib83 commented
Building a wrapper component to separate dependences as an alternative approach