5 ms·
Oh man, mixing tabs and spaces... React and Meteor work really well together. It's a lot less painful than trying to use Flux with an API backend. Super produc
by clessg 11y ago
Oh man, mixing tabs and spaces...
React and Meteor work really well together. It's a lot less painful than trying to use Flux with an API backend. Super productive. Can't wait for SQL support and for them to FINALLY fix the build speed.
- jxm262 11y agoYou caught my attention with this "alot less painful than trying to use Flux with an API backend" Can you elaborate a bit on how you architect your apps with Meteor and React? I've typically tied my Flux Action layer to my api backend (where my ajax code goes) which then dispatches to the Store layer, then the View (react components) listens to that... With Meteor where are you hooking your api backend into the react components? I'm a little lost looking for decent examples of different Meteor/React architectures.
- clessg 11y agoIn fact, there was a blog post just written about this! http://info.meteor.com/blog/meteor-the-missing-infrastructure-for-building-great-react-apps http://info.meteor.com/blog/meteor-the-missing-infrastructur...
- jxm262 11y agoCool Thanks! Do you know if there are any plans to make a sample app on github for us to follow? I'll try to do a rewrite of the example todo app using this for practice. Seems like I have a bit to read since this would seem to change the standard flow I'm currently using in my Flux pattern. Actually stumbled across this thread which gives some good reading as well - https://forums.meteor.com/t/meteorflux-flow/920/63 https://forums.meteor.com/t/meteorflux-flow/920/63.
- spinningarrow 11y agoHow are they mixed? It looks like only tabs to me.
- clessg 11y agoYeah, they were fixed after my comment. Actually, not sure why it isn't in the history for the file, but I know for a fact that the link provided mixed them.