Code Monkey home page Code Monkey logo

Comments (3)

akiran avatar akiran commented on May 3, 2024

As of now you have to use a build tool like browserify or webpack.
This yeoman generator help you setup quickly.

{...settings} is es6 feature and require react 0.12
If you are using jsx loader add harmony flag and if you are using reactify add {es6: true} to your browserify config

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.

from react-slick.

mingfang avatar mingfang commented on May 3, 2024

Thanks for the response.
Unfortunately I'm a server guy and do not know anything about front end stacks, therefore I have not idea what to do next.
Take jquery.js for example.
I'm able to just point to it using a script tag and use it straight away, without having to build it.
That seems much for user friendly.
Closing since it appears to work for you.

from react-slick.

akiran avatar akiran commented on May 3, 2024

If you work on server (Java, ruby or python etc) you must be already familiar with module system.
Same sort of module system can be used Javascript.

Jquery uses globals because at the time of its creation there was no module system and build tools
Now javascript is maturing and borrowing ideas like module system from server side languages like python, ruby.

I haven't provided bundled packages because it is not a good practice now.
You will loving using a build system after passing the initial setup hurdle.
let me know if you need help in setting up.

Just curious. Are you able able to find bundled packages for other opensource react components?

from react-slick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.