Modularity: The CompositeTrack and HandleCollection components group up the track-building and handle-building blocks of the MultiSlider component's render method. It significantly reduces the cluster in the render method.
Flow support: I've added flow support in this library. The compiled output still has ES5 code without flow. However, the module.flow.js files are created to support flow types during development with this library.
Upgraded to Babel 7: I've upgraded the library to use @babel packages and upgraded everything related to development.
(BREAKING CHANGE) Uses React 16.3: React's `Fragment' is available only after 16.3; hence, I've added that dependency (instead of React 15).
ESLint: Added ESLint workflow while developing this project.
README.md: I've added a description and props list into the README of this project.
I improved this project in the following areas:
Modularity: The
CompositeTrack
andHandleCollection
components group up the track-building and handle-building blocks of theMultiSlider
component's render method. It significantly reduces the cluster in therender
method.Flow support: I've added flow support in this library. The compiled output still has ES5 code without flow. However, the
module.flow.js
files are created to support flow types during development with this library.Upgraded to Babel 7: I've upgraded the library to use
@babel
packages and upgraded everything related to development.(BREAKING CHANGE) Uses React 16.3: React's `Fragment' is available only after 16.3; hence, I've added that dependency (instead of React 15).
ESLint: Added ESLint workflow while developing this project.
README.md: I've added a description and props list into the README of this project.
This PR should solve #14 .