kidjp85 / react-id-swiper

A library to use idangerous Swiper as a ReactJs component which allows Swiper's modules custom build
https://react-id-swiper.ashernguyen.site/
MIT License
1.49k stars 154 forks source link

Init function not triggered when used in UseEffect #442

Open kratoskat opened 4 years ago

kratoskat commented 4 years ago

Used init: false and initialised swiper manually but the init function doesn't seem to trigger when used this way. It is triggered successfully though when added through the on parameter.

Followed documentation from here https://swiperjs.com/api/

Please see sandbox example https://ujikt.csb.app/