GithubHelp home page GithubHelp logo

Plans to publish to NPM? about flux HOT 16 CLOSED

facebook avatar facebook commented on April 24, 2024
Plans to publish to NPM?

from flux.

Comments (16)

zpao avatar zpao commented on April 24, 2024

This code is usable and we'll publish this to npm sometime soonish. We weren't quite prepared for the attention this has gotten today :)

from flux.

KyleAMathews avatar KyleAMathews commented on April 24, 2024

That's because you haven't experienced the HUNGER! :D j/k... kinda.

Ok, will install manually for now.

from flux.

spoike avatar spoike commented on April 24, 2024

Or you could try using reflux instead, it requires less boilerplate code. It's available on npm and bower. ;-)

from flux.

KyleAMathews avatar KyleAMathews commented on April 24, 2024

I'm all for competition :) Checking it out.

from flux.

gillesruppert avatar gillesruppert commented on April 24, 2024

+1. Installing manually for now but looking forward to this issue being resolved 😄

from flux.

ndreckshage avatar ndreckshage commented on April 24, 2024

Temporary until in NPM, but if it helps anyone:

https://github.com/ndreckshage/flux
ndreckshage/flux@facebook:master...master

package.json

"dependencies": {
    "flux": "git://github.com/ndreckshage/flux.git#master"
}
require('flux').Dispatcher;

then no build necessary

from flux.

mjackson avatar mjackson commented on April 24, 2024

Today I published an npm package called react-dispatcher. It's an npm-installable fork of this repo with the top-level export being set to the Dispatcher object. No other modifications have been (or will be) made to the source. All changes will be pulled from upstream.

Just npm install react-dispatcher and then

var Dispatcher = require('react-dispatcher');

@zpao You guys are more than welcome to that package name if you'd like to use it. For now, it just makes it easier for us to use the dispatcher :)

from flux.

maksimr avatar maksimr commented on April 24, 2024

+1

from flux.

WickyNilliams avatar WickyNilliams commented on April 24, 2024

+1, lack of npm module is an annoying barrier to entry.

@mjackson thanks for this, much appreciated

from flux.

fisherwebdev avatar fisherwebdev commented on April 24, 2024

News: 'npm install flux' now installs this project. Yay! Check it out: https://www.npmjs.org/package/flux

from flux.

WickyNilliams avatar WickyNilliams commented on April 24, 2024

🎉

from flux.

mjackson avatar mjackson commented on April 24, 2024

@fisherwebdev 😃 nice work! I'll get rid of the react-dispatcher package.

from flux.

lenage avatar lenage commented on April 24, 2024

👍

from flux.

rafayepes avatar rafayepes commented on April 24, 2024

Any plans on adding the dispatcher as standalone package?

from flux.

sophiebits avatar sophiebits commented on April 24, 2024

@rafayepes Do you mean separately from the flux package? What advantage would there be?

from flux.

fisherwebdev avatar fisherwebdev commented on April 24, 2024

Currently, the flux npm module is essentially that -- the dispatcher along with its one dependency, the invariant module. If we want to go beyond that in the future with the flux module, then we'll need to come up with a solution to expose the dispatcher separately.

from flux.

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.