Closed aeciolevy closed 5 years ago
Hi @aeciolevy ,
can you take a look what's in the window object after route change?
window.__REACT_SIMPLE_IMG__
I printed out the Window but there is just the REDUX constants... nothing with REACT_SIMPLE_IMG...
oh i see you are using the provider
, i will have to take a look on this issue, will get back to you.
what about try initSimpleImg();
without the provider for now?
you are using react-router 4
?
Hi Bill,
I have not tested with initSimpleImg(). I can test it today.
I am using react-router 4.
I tried to lazy load in a Modal, it also breaks.
thanks @aeciolevy i will test it out over the weekend 👍
Hi @aeciolevy ,
i have made a patch and fixed the issue. please upgrade 👍
here is a working version with react router
https://codesandbox.io/s/z322vzlv83
cheers bill ❤️
Awesome. I will test it out. Thanks.
any luck on this one @aeciolevy ?
it worked! Thanks!
Hi Bill,
I am having problem while using react-simple-img:
If I redirect from another page to the one that I am using simple-img throw this error.