-
Notifications
You must be signed in to change notification settings - Fork 145
ReactReader doesn't load ebook from second time #154
dunglt-iks
started this conversation in
Show and tell
Dear Gerhard Sletten,
I wrap ReactReader by my own component. My component contains Input file and ReactReader. When I select file from Input, ReactReader load that ebook file. It works properly at first time. But, It doesn't work from second time. ReactReader doesn't load new ebook. Please look at the screenshot for details. Question: how can I force ReactReader load new book?
Thank you very much
ebookReader
All reactions
Replies: 2 comments
It seems component is not re-rendered whenever url property changes
All reactions
0 replies
I have found solution from stackover, add key property in ReactReader Component, its value is file name which is change whenver I select new epub file.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment