Add a Real-Time Database with Your React Native Chat App with Firestore

In this tutorial, the first thing you'll learn is how to use chat messages stored in a Firestore database. The second thing you're going to learn in this post is how to integrate and use react-native-gifted-chat to implement Chat UI with ease.

This is a companion discussion topic for the original entry at

Excellent tutorial. I really enjoyed working thru it.
One update needed above:

const { thread } = route.params

needs to be moved inside the function body, as it uses the param passed in.

Thanks for catching that. Will update the snippet.