- After clicking All Sessions, we need to update the directory path and also the url.
- Component should update based on the url.
- Component should remount everytime the link is clicked.
- ComponentDidMount should resolve the path and information from the link.
- Based on the information we need to update the directory tree.
List all the sessions
session1: { List all the directories and files inside the path clicked. folder1: { Contains subdirectory information } file1, file2 } session2: {
} session3: {
}
If we can populate this dictionary, we can easily grab the data from the cache instead of getting data from firestore every time.