Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ -(instancetype)init
return self;
}

+(BOOL)shouldBeRecycled
{
// We are disabling recycling for this native view to prevent it from being cached.
// This ensures that the PDF is reloaded every time the component is re-mounted
// or any of its props change, providing a fresh instance for each render.
return NO;
}

- (void)dealloc
{
if (observerAdded) {
Expand Down