Comments (8)
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.
Am still hesitating between Alt.js or Redux's implementation's of Flux!
from meteor-flux-leaderboard.
What tool do you use with Redux?
from meteor-flux-leaderboard.
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.
https://github.com/gaearon/redux-devtools ! Found it at the same time you write! Thanks for being so fast :)
from meteor-flux-leaderboard.
Lemme test with your meteor-flux-leaderboard version on the redux branch.
from meteor-flux-leaderboard.
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.
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)
- Use Collection.observe Instead? HOT 3
- Desperately waiting Redux example. HOT 30
- Still active HOT 14
- Best place to put Subscriptions and Fetchings on Redux? HOT 4
- Redux sample improvement? HOT 8
- SSR & Immutable Stores? HOT 4
- Subscription
- Cloning the content of the subscribed collections means 2x memory usage ? HOT 2
- Any plans to complete the Alt example referenced in the readme? HOT 2
- Determining whether a collection has loaded. HOT 3
- How can I get posts by page id? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-flux-leaderboard.