In our application, we display a list of articles on the landing page. When a user clicks on an article, we want to show the respective article details on a separate page (e.g., /article/{id}). Is it possible to achieve this dynamically in Builder.io?
We’re considering two approaches:
Creating a article page model and add a new entry for each article with unique URL. This would require creating a separate entry for each article, resulting in potentially many entries for a large number of articles.
Alternatively, can we use a single page entry for articles and dynamically pass an id as a data prop to construct the dynamic URL (/article/{id}). Then, we’d filter the respective article value from the data model.
Is the second approach feasible in Builder.io, or is there another recommended way to achieve this dynamically?
Thanks in advance