aws-clj-sdk icon indicating copy to clipboard operation
aws-clj-sdk copied to clipboard

React Native support

Open viesti opened this issue 6 years ago • 5 comments

React Native sits on top of JavaScriptCore (at least last time I checked). Would be good to check that #1 aligns with usage of aws-clj-sdk in React Native projects

viesti avatar Mar 08 '18 12:03 viesti

really love the idea, we might wait after finishing the 5 protocols right ? How do you see it ?

dupuchba avatar Mar 08 '18 12:03 dupuchba

AWS has a project called Amplify which has React components for authentication with Cognito and probably a set of helpers for making requests to AWS API's, but probably also to API's made with API Gateway intended to work as a backend for the mobile app. I haven't used or looked at Amplify, or the current state of ClojureScript with React Native, but I'd think that we have at least possibility of providing a Clojure native experience.

I'd think that it's best to finish service support, although RN app uses probably quite limited set of services (say DynamoDB and S3). Spinning up few servers with EC2 API isn't necessary, although might be fun, for some definition of fun :)

viesti avatar Mar 08 '18 12:03 viesti

I've used a yeard ago cljs & react-native. If it compiles to cljs I don't see why aws-clj-sdk could not work

dupuchba avatar Mar 08 '18 12:03 dupuchba

I guess it’s about host api. You don’t have the same apis (network, crypto ) in React Native and in Node.

cgrand avatar Mar 08 '18 12:03 cgrand

Yes, now that my mind refreshes, RN uses Fetch API for HTTP. Don't know what's the thing used in Node, maybe some XMLHttpRequest wrapper? But yeah, a survey of the host api is in order.

viesti avatar Mar 08 '18 12:03 viesti