I'm using react-pdf v5.6.0 with reactjs. I tried looping through pages to show multiple pages of a pdf file at once. This is the way I've done it:
{Array.apply(null, Array(numPages))
.map((x, i) => i + 1)
.map(page =>
<Page scale={scale} key={`page_${page}`} id={`page_${page}`} pageNumber={page} />
)
}
I tried using id to navigate between them with links but the problem is the id property is never added to the rendered output. Is there anyway you can suggest to enable navigation through pages while showing multiple of them at once? Is this even possible via react-pdf?