-
-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactive src prop #18
Comments
+1 |
+1 |
Thanks +1 |
+1 |
Instant fix, thanks |
Just for posterity and others who may find this seeking help you can also use this dynamic key technique in the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I need to dynamically change the data that is being viewed in this component. I would like the src property to be reactive.
Describe the solution you'd like
Set a watcher on the src property, which triggers a re-initialization of the component.
Describe alternatives you've considered
My current workaround is to set a :key property on the pdf component, and when updating the src data I also modify the key (by incrementing it).
Additional context
I am using TypeArrays to feed data to this component. My :src property looks something like this:
The text was updated successfully, but these errors were encountered: