tomitrescak / meteor-mantra-redux-graphql

Meteor Boilerplate for Mantra + Redux + GraphQL
MIT License
21 stars 5 forks source link

Please advise. #2

Open smooJitter opened 8 years ago

smooJitter commented 8 years ago

I'm looking forward to Mantra's proof that it is future proof. I really like the framework. I have a few questions.

This appears to be a combination of a few boilers (e.g., the root has a src, app, and a imports directory). What are the plans for the committed out code? It appears to be for staging.

I recall seein a context file where Tracker and React-dict are used for local state. Considering Apollo and Redux, can you explain the role of Tracker and React-dict? It would be nice to see a Mantra app that nicely adopts Redux, Apollo, React/Relate, and React-act.

smooJitter commented 8 years ago

So for the mispost

tomitrescak commented 8 years ago

@smoojitter, I have updated the README with the following section. I hope it answers your question:

Typescript vs Javascript

This repo contains all sources written in Typscript located in the src directory. The compiled javascript is in ES 2015 located in the imports directory. If you do not wish to use Typescript, simply remove the src directory.

I know we are going here against Mantra recommendation to keep everything in client / server directory, what you are welcome to change, but for now, keeping everything in imports seems cleaner to me.

Concerning your other questions

smooJitter commented 8 years ago

Regarding Tracker and ReactiveDict, good. Since the start of Mantra, I've been waiting for something to use via react-native. Apollo and Redux provides the missing pieces. Thanks for the quick reply.

Unrelated. I'm using your Mantra Atom package. Does "New Method" offer a way to enter more than one parameter for collection fields? Do you know of any scaffolding tools that could generate meteor crud methods?

Again thanks