Using functional components in TypeScript this now fails after upgrading from 0.6.0 to 0.9.1.
I used ref in a bookmark component to fetch the current state of the report.
Now ref no longer updates. I've tried to look through the diffs on the versions but I can't really see where it starts to fail.
Any help is much appreciated
Code below:
export function ReportPage() {
const ref = useRef<any>(null);
/// Code shortened [.....]
return (<div>
<BookmarkComponent embeddedGuid={embeddedGuid} reportRef={ref} currentReport={currentReport} cancelSource={cancelSource} />
<PowerbiEmbedded
key={currentReport?.guid || ""}
ref={ref}
id={powerBiConfig?.id}
embedUrl={powerBiConfig?.embedUrl}
accessToken={powerBiConfig?.embedToken.token}
/>
</div>)
}
Using functional components in TypeScript this now fails after upgrading from 0.6.0 to 0.9.1.
I used
refin a bookmark component to fetch the current state of the report.Now
refno longer updates. I've tried to look through the diffs on the versions but I can't really see where it starts to fail.Any help is much appreciated
Code below: