Coder Social home page Coder Social logo

Pub/Sub about ffx-meteor-react-boilerplate HOT 4 CLOSED

ffxsam avatar ffxsam commented on April 27, 2024
Pub/Sub

from ffx-meteor-react-boilerplate.

Comments (4)

ffxsam avatar ffxsam commented on April 27, 2024

Make sure you're looking at the example branch:

Subscribe:
https://github.com/ffxsam/ffx-meteor-react-boilerplate/blob/example/client/containers/ColorSetterContainer.jsx#L80

Publish:
https://github.com/ffxsam/ffx-meteor-react-boilerplate/blob/example/server/publications.js

from ffx-meteor-react-boilerplate.

n0ne avatar n0ne commented on April 27, 2024

Yes, I found, thank you...
But you are using mixin react-meteor-data... it is meteor, but not react way...imho
I'm looking for combination Meteor+React+Redux, but without mixins and this.data...found react-komposer from Arunoda, but have to use or composeWithTracker for Meteor, or compose for Redux...
And found this project, but can't undertand his middleware for subscriptions....

from ffx-meteor-react-boilerplate.

ffxsam avatar ffxsam commented on April 27, 2024

Of course I'm using react-meteor-data, since this is Meteor. :) I'm trying to stick somewhat close to MDG's official recommendations, so I'm still using their mixin.

So with my boilerplate, you would basically use getMeteorData() for dealing with Meteor subscriptions and reacting to data changes, and Redux would handle app state, sending updates to components via their componentWillReceiveProps() lifecycle method (once you connect Redux to that component of course).

from ffx-meteor-react-boilerplate.

n0ne avatar n0ne commented on April 27, 2024

Cool! I have to make some investigations (-:
Especially, how I can customize subscription with props, sending them from Redux through connect()...

And still waiting giude from MDG for Meteor 1.3 + React and, I hope, Redux (-:

from ffx-meteor-react-boilerplate.

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.