Giter Club home page Giter Club logo

reduxtoast's People

Contributors

payner35 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

reduxtoast's Issues

Local State

I see you are still pointing to Tracker and ReactiveDict for local state. Is this necessary?

Error: there is no Path...

First thanks for this repro. I had problem to get it to run. Here is what i have done and now it works.

here is my package.json

{
"name": "maps",
"private": true,
"scripts": {
"start": "meteor run"
},
"dependencies": {
"apollo-client": "^0.5.0",
"apollo-server": "^0.2.5",
"body-parser": "^1.15.2",
"express": "^4.14.0",
"graphql": "^0.7.0",
"graphql-tag": "^0.1.11",
"graphql-tools": "^0.8.0",
"graphql-server-express": "^0.4.3",
"lodash": "^4.15.0",
"mantra-core": "^1.7.0",
"material-ui": "^0.15.4",
"meteor-node-stubs": "~0.2.0",
"react": "^15.3.0",
"react-apollo": "^0.6.0",
"react-dom": "^15.3.0",
"react-if": "^2.1.0",
"react-komposer-plus": "^2.2.3",
"react-mounter": "^1.2.0",
"react-redux": "^4.4.5",
"react-tap-event-plugin": "^1.0.0",
"redux": "^3.5.2",
"redux-logger": "^2.6.1",
"redux-thunk": "^2.1.0"
},
"devDependencies": {
"babel-preset-meteor": "^6.12.0"
}
}

Changing the routes.js to:

import React from 'react';
import {FlowRouter} from 'meteor/kadira:flow-router';
import {mount} from 'react-mounter';

//mainLayout is the main view...
import MainLayout from './containers/mainLayout';
import Home from './containers/view_home';

export default function (injectDeps) {

const MainLayoutCtx = injectDeps(MainLayout);

// Move these as a module and call this from a main file
FlowRouter.route('/', {
name: 'home',
action({}) {
mount(MainLayoutCtx, {
content: () => ()
});
}
});

};
made it work again. :-)

All Gone Wrong...

So it looks like this all goes wrong when you update to the latest Apollo CLient & Server.

The reason seems to be the use of the new GraphQL connector (HOC) to provide the props & state to the components.. (and the suggestion that this should all happen in the component?)

Need some time to explore how this actually works with Mantra..

This latest update brakes the Meteor Atmosphere package as well as this is community maintained... with no sign of an update.

All quite frustrating really.

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.