![]() the props corresponding to the fragmentSpec). getConnectionFromProps: Function that should indicate which connection to paginate over, given the fragment props (i.e.If not provided, Relay will infer the direction based on the provided directive. direction: Either "forward" to indicate forward pagination using after/first, or "backward" to indicate backwards pagination using before/last.Note: relay-compiler enforces fragments to be named as _.Each key specified in this object will correspond to a prop available to the resulting Component. fragmentSpec should be an object whose keys are prop names and values are graphql tagged fragments. ![]() The required data will be available on the component as props that match the shape of the provided fragment. It is expected that one of the fragments specified here will contain a for pagination.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |