You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case its easier to tree-shake methods the people are not using it and reduce the overall bundle size.
It might not be totally easy to implement without refactor as most of the function are written accessing global variable, just throwing some idea to make the library more flexible.
Cheers
The text was updated successfully, but these errors were encountered:
roderickhsiao
changed the title
Suggestion - Plug-able mode
Suggestion - Plug-able mode option
Jul 3, 2020
I like the idea of making the library more modular. I'm hoping to have some time over the next weeks to rewrite the whole movement and animation part. I think I can get a lot more out of it and will definitely consider your suggestion.
Since I want to make the slider available for react-native, I have to make some changes anyway.
Thanks for the awesome library.
One suggestion here is for the
mode
option,wondering if we can make it pluggable so only the default one will be built in, and the library could export other mode such as
In this case its easier to tree-shake methods the people are not using it and reduce the overall bundle size.
It might not be totally easy to implement without refactor as most of the function are written accessing global variable, just throwing some idea to make the library more flexible.
Cheers
The text was updated successfully, but these errors were encountered: