React Relay Upload S3
Middleware for Relay Modern Network Layer for upload file to AWS S3
Installation
Install react-relay-upload-s3 using yarn or npm:
yarn add react-relay-upload-s3
Usage
How to create the RelayNetworkLayer
;
;
How to use in commitMutation
//single file ; commitMutation ... uploadables: , ; //multiple files ; ; commitMutation ... uploadables: , ;
TODO
Document how to use urlMiddleware and authMiddleware in the context of AWS
License
React Relay Upload S3 is MIT licensed.