-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I actually use this? #3
Comments
As of now you have to use a build tool like browserify or webpack. {...settings} is es6 feature and require react 0.12 I am not providing react-slider.js because it is a good practice to avoid exposing react component on global and it is better to use a build tool. Let me know your feedback. |
Thanks for the response. |
If you work on server (Java, ruby or python etc) you must be already familiar with module system. Jquery uses globals because at the time of its creation there was no module system and build tools I haven't provided bundled packages because it is not a good practice now. Just curious. Are you able able to find bundled packages for other opensource react components? |
Co-authored-by: Hullen Gonzales <hullen.geomais@gmail.com>
The example on the github page does not even compiler due to this
...{setting}
.I can't fine the react-slider.js anyway but managed to cut and paste it from
http://webrafter.com/opensource/react-slick
by viewing the source.But even then, I'm getting this error at runtime
Uncaught ReferenceError: webpackJsonp is not definedreact-slick.js:1 (anonymous function)
The text was updated successfully, but these errors were encountered: