Summary
In this chapter, we have learned how to create an image blog post with real-time subscriptions for both web apps and mobile apps with React, Expo, and React Native. We also learned how to add the pre-built Photo Picker component from the Amplify library to the app, how to create a feature for uploading the photo to Amplify Storage, and how to list all the blog posts for the users in real time. These features allow modern websites and apps to update without the user having to either refresh their website manually or pull to refresh their app on their smart phone. This improves the user experience in general. The code bases between ReactJS, React Native, and Expo are very similar, which means you can share most of the code between these projects and reuse it.
In the next chapter, we will learn how to create an Amplify DevOps pipeline, which can deploy the ReactJS code to Amplify Hosting automatically, whenever we submit new code to the repository.