react-img-zoom
react-img-zoom copied to clipboard
Attempted fix for issue #19
Read props at render time, instead of in the constructor. That way if props change we're always reading the latest values.
I haven't tested this yet. I tried doing yarn install && yarn test
and got some error while it was trying to compile node-sass or something.
There were the following issues with your Pull Request
- Commit: 5ba62cda492673f31d04587b4454a45f0b940b86
- Commits must be in the following format: %{scope}: %{type} %{description}
Guidelines are available at https://github.com/LeoNero/react-img-zoom. "%{type}" must be one of "add, remove, refactor, bump, move, release, update, fix"
This message was auto-generated by https://gitcop.com
There were the following issues with your Pull Request
- Commit: 9d2d6270c20e9646cab8dbec5b5ab44bc3783fab
- Your subject line is longer than 50 characters
Guidelines are available at https://github.com/LeoNero/react-img-zoom. "%{type}" must be one of "add, remove, refactor, bump, move, release, update, fix"
This message was auto-generated by https://gitcop.com