GithubHelp home page GithubHelp logo

Bower build? about react-widgets HOT 8 CLOSED

jquense avatar jquense commented on July 19, 2024
Bower build?

from react-widgets.

Comments (8)

jquense avatar jquense commented on July 19, 2024

I am a bit reticent to do this...the React ecosystem is pretty standardized around just using npm and commonJS modules. I am unsure of the additional maintenance burden dealing with a bower build would add, but I am not familiar enough with bower to make a judgement off the top of my head. I do want to be helpful tho, and make it as easy as possible to consume this react-widgets.

Let me take a look around at how others are handling bower packages in the react community and I'll get back to you.

from react-widgets.

uberllama avatar uberllama commented on July 19, 2024

Much appreciated. For the record, large libs like reflux and react-bootstrap do provide bower builds.

from react-widgets.

jquense avatar jquense commented on July 19, 2024

ya I have seen that! Though in this case I have css to deal with along with a duplication concern with needing to webpack everything up first. It doesn't seem like a big deal as i'm looking at it, but I need to play around with it.

from react-widgets.

austinking avatar austinking commented on July 19, 2024

Off topic, but jspm install npm:react-widgets works out of the box.

from react-widgets.

uberllama avatar uberllama commented on July 19, 2024

We've actually forked this repo as we wanted to utilize moment.js, so we also did our own bower build. Cheers.

from react-widgets.

jquense avatar jquense commented on July 19, 2024

@uberllama glad you got it working independently. This may not be relevant to you anymore but I think I have it all sorted out so there should be "official" bower support as of the next release.

from react-widgets.

uberllama avatar uberllama commented on July 19, 2024

Awesome. It would be nice if we could merge the forks somehow to choose between globalize/moment, but I'm not sure if that's doable.

from react-widgets.

jquense avatar jquense commented on July 19, 2024

That is a larger issue, The reason I went with Globalize is that it also included data for localizing/globalizing dates AND numbers (for the number picker). Moment.js is great, but its not tiny and it only does dates (I also am reticent to return, or take as an input a non-native object type, as it can introduce weird compat issues), so it's not likely i'll switch in the near future.

However, I'd be more than willing to talk about how we can make react-widgets more conducive to use with Moment.js. I'd be very interested to hear what stumbling blocks lead to the fork if you ever want to spare the time in an issue.

from react-widgets.

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.