Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'meteor create --react'. #182

Closed
alexsicart opened this issue Sep 19, 2017 · 13 comments
Closed

Add 'meteor create --react'. #182

alexsicart opened this issue Sep 19, 2017 · 13 comments

Comments

@alexsicart
Copy link

@alexsicart alexsicart commented Sep 19, 2017

Add 'meteor create --react'.

Description: As we know, create meteor app's is amazing, but when we join React Facebook and Meteor, is the perfect combination.

Solution: Create a flag with react option, when we want to create a new meteor app.

I created this:
https://github.com/alexsicart/Create-React-Meteor-App

@abernix
Copy link
Member

@abernix abernix commented Sep 21, 2017

Thanks for opening this, @alexsicart! This spawned from discussion in this tweet which mentions an official skeleton for React and highlighting scattered conversation in meteor/meteor#6974 and (starting at) meteor/meteor#8728 (comment) (warn: very large 1.6 release thread), though no current feature request to track the importance and hash out details.

@abernix
Copy link
Member

@abernix abernix commented Sep 21, 2017

I believe keeping the base --react application relatively simple and, feature-wise, on parity with the Blaze version would be my initial thought. We should explore if we want --full and --bare variants and what those should include.

And some server-side rendering (SSR) pattern should likely be available in one of these variants!

@alexsicart
Copy link
Author

@alexsicart alexsicart commented Sep 24, 2017

Yes I agreee with you, simple, without authentification. Only main.js, main.html, connected to the app.js in the components folder. Displaying Hello React.

@alexsicart
Copy link
Author

@alexsicart alexsicart commented Sep 24, 2017

This afternoon I'll modify https://github.com/alexsicart/Create-React-Meteor-App, to make it more simple.

@iwojapa
Copy link

@iwojapa iwojapa commented Oct 30, 2017

+1 for all of this, including the --bare and --full versions.

@benjamn benjamn added this to the Meteor 1.6.1 milestone Oct 30, 2017
@filipenevola
Copy link
Member

@filipenevola filipenevola commented Nov 1, 2017

Hello, do you think that we should include Apollo in this app example? Or maybe have one additional option with Apollo?

I'm working in this repo https://github.com/CodeFTW/meteor-react-latest to keep an up to date working example of Meteor + React + Apollo. Also I'm trying to put good practices in place, like using imports folder and one example of each common operation (router, mutation, query, etc).

What do you think? What is the best path to go and how can I help?

@hanimay
Copy link

@hanimay hanimay commented Nov 3, 2017

Hello,
I assumed having react command would lead to something similar or a more integrated version to this repo : https://github.com/Urigo/meteor-client-bundler.

This way we can easily benefit from HTTP/2 and CDN for our clients as well as benefiting from Webpack.

Kindly advise.

@alexsicart
Copy link
Author

@alexsicart alexsicart commented Nov 3, 2017

@filipenevola It could be a flag! Meteor + React + Apollo. Good idea!!

@jbaxleyiii jbaxleyiii mentioned this issue Nov 10, 2017
5 of 6 tasks complete
@theodorDiaconu
Copy link

@theodorDiaconu theodorDiaconu commented Dec 1, 2017

I think this will be a never-ending task. After a new structure is introduced, we'll need another boilerplate, then another, when a git clone REPO can be as easy as meteor create --react, maybe you will need a router, or something else. And after SSR matures you will want a --react-ssr, --react-router-ssr.

Maybe create a convention to add as topic "meteor-boilerplate" to GitHub ?
https://github.com/topics/meteor-boilerplate

@dmihal
Copy link

@dmihal dmihal commented Jul 30, 2018

Any update on this?

I'm giving a demo on Meteor + React in a month and I'd love to be able to start it with something like meteor create --react-full.

I'd be happy to put together a PR if people are supportive!

@StorytellerCZ
Copy link

@StorytellerCZ StorytellerCZ commented Aug 13, 2018

@dmihal PR would be a great start.

@benjamn
Copy link
Member

@benjamn benjamn commented Feb 4, 2019

The meteor create --react command was implemented in Meteor 1.8. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants