I'm using React-Slick to render <Report />
components in a carousel. I would like to sync each <Report />
's reportId
with query params.
For example, a user would be able to see a specific report by going to myapp.com/reports?id=1
and it would take them to that specific "slide".
The problem I'm having is that the report
data is being loaded before the slides are initialized. I can't find any good examples of react-slick's onInit
or onReInit
.