Open oyeanuj opened 5 years ago
Sorry for the very late reply, I am working on the issue. But in order to use the lib, you can use this workaround which is the one I'm using at the moment, and works ok.
let InfiniteCarousel = null;
.......
componentDidMount() {
InfiniteCarousel = require("react-leaf-carousel").default;`
}
HI @gl0gl0, thank you for open sourcing this! I'm seeing the following error:
It seems that there needs to be a check for
window
before using it, which will then make it work on the server?