
How to access Firestore subcollections with react-redux-firebase
I would like to share with you a code snipped of how to access subcollections in the Cloud Firestore database.
Lets say we have this structure:
- Users
|
-- Tasks
Our exercise is to access the tasks list of a certain user.
import { compose } from "redux";
import { connect } from "react-redux"