React-slick: slickGoTo as prop for PureComponent

Created on 19 Mar 2017  路  3Comments  路  Source: akiran/react-slick

Hi,

It would help a lot to keep the ability to pass slider position as int in the props. I use the slider in a pure component and it would be a mess to care about the livecylce hooks. Any chances to prevent deprecation?

best regards :)

stale

Most helpful comment

@akiran is there no way to manage manage the slider state in a pure component after mounting?

All 3 comments

If you want to set slider position only once, you can use initialSlide option.

@akiran is there no way to manage manage the slider state in a pure component after mounting?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings