ffxsam / ffx-meteor-react-boilerplate

Meteor 1.4 + React boilerplate (DEPRECATED/ABANDONED) 👋
133 stars 20 forks source link

A lot of things in example should be in master? #24

Closed maxkrieger closed 8 years ago

maxkrieger commented 8 years ago

I'm not just talking about the folder structure which isn't being generated (routes, actions), but the generated package.json is outright missing react/redux dependencies. Isn't that necessary for a boilerplate? Working off of the example branch works fine.

ffxsam commented 8 years ago

The actual package.json that gets used is in .scripts/package-dist.json (it gets copied to the project root level when npm run scaffold is run). And Redux was removed from the boilerplate, and will eventually be removed from the example app as well.

maxkrieger commented 8 years ago

That's unfortunate. What exactly is the roadmap for this project, then, if not just a meteor project with a react dependency?

ffxsam commented 8 years ago

Why is it unfortunate? Redux is not always needed, in fact, many people overuse it. Even Redux's creator preaches this all the time. 😄

What exactly is the roadmap for this project, then, if not just a meteor project with a react dependency?

Well, it's a boilerplate, which is nothing more than a starting point for—in this case—Meteor/React projects. It changes over time as my own needs change, or I find ways to improve it (e.g. Jest testing was just added recently).

maxkrieger commented 8 years ago

I understand, was just excited to finally find an example project with thunking and routing built for meteor 👍

ffxsam commented 8 years ago

Redux is great at solving specific problems, but at first one should make sure that things like React component state and higher-order functions can't solve this problems first. Redux should be a last resort.

FlowRouter is used in this boilerplate at the moment, though I'm considering switching to React Router at some point.

funkybunky commented 8 years ago

@ffxsam I just converted the boilerplate to React-Router :) Hopefully I find the time in the next days to clean it up and publish it/make a PR

ffxsam commented 8 years ago

@funkybunky Cool, thanks! I'll take some time to look at the changes and try to understand it before I merge it into master.