Giter Site home page Giter Site logo

Comments (8)

AdamBrodzinski avatar AdamBrodzinski commented on July 29, 2024

If you're using the older version of Alt you'll need to import it like this:

https://github.com/goatslacker/alt-devtool/tree/3b1c738d2ce1edfaad5101afcc82515285d05a46

I've switched to Redux and it's a far better debugger IMHO

from meteor-flux-leaderboard.

rdewolff avatar rdewolff commented on July 29, 2024

Am still hesitating between Alt.js or Redux's implementation's of Flux!

from meteor-flux-leaderboard.

rdewolff avatar rdewolff commented on July 29, 2024

What tool do you use with Redux?

from meteor-flux-leaderboard.

AdamBrodzinski avatar AdamBrodzinski commented on July 29, 2024

It's built in, it's a react component itself 😄

https://github.com/gaearon/redux-devtools

btw, ctrl + h will hide it

It's 10x easier than Alt, i need to migrate one of my alt apps soon

from meteor-flux-leaderboard.

rdewolff avatar rdewolff commented on July 29, 2024

https://github.com/gaearon/redux-devtools ! Found it at the same time you write! Thanks for being so fast :)

from meteor-flux-leaderboard.

rdewolff avatar rdewolff commented on July 29, 2024

Lemme test with your meteor-flux-leaderboard version on the redux branch.

from meteor-flux-leaderboard.

AdamBrodzinski avatar AdamBrodzinski commented on July 29, 2024

yea also btw, i don't know if that has an if/else block for devtools but this is how i do it (this is prob a newer version too)

const reducer = combineReducers({
  router: routerStateReducer,
});


if (__DEV__) {
  store = compose(
    reduxReactRouter({ createHistory }),
    devTools(),
  )(createStore)(reducer);
  window._store = store;

}
else {
  store = compose(
    reduxReactRouter({ createHistory }),
  )(createStore)(reducer);
}

export const dispatch = store.dispatch;

so that way devtools isn't in production!

from meteor-flux-leaderboard.

rdewolff avatar rdewolff commented on July 29, 2024

Yeah I had seen a similar code, either in our talk on the meteor forum, on a blog post or on some github conversion like we're having here.

Thanks for the help!

from meteor-flux-leaderboard.

Related Issues (12)

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.