sluppysluppy
sluppysluppy

Reputation: 11

Get all document from firestore and then create route to them

The sermon collection contains many documents that contain:

  1. a link to the picture from the video
  2. title of the sermon from YouTube
  3. date of the sermon
  4. and a link to the sermon on YouTube.

I want to get the date to display on the page and create its own route for each.

Upvotes: 0

Views: 199

Answers (1)

umair
umair

Reputation: 534

You can use react-router dynamically create routes for each date. if you have not looked into react-router yet, it's work looking into it. React Router

Upvotes: 1

Related Questions