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

MERN v3.0.0 🚀 #344

Open
5 of 6 tasks
abinavseelan opened this issue Jan 22, 2018 · 108 comments
Open
5 of 6 tasks

MERN v3.0.0 🚀 #344

abinavseelan opened this issue Jan 22, 2018 · 108 comments
Assignees
Labels
discussion v3.0.0 CLI/devtools optimization/improvements
Milestone

Comments

@abinavseelan
Copy link

abinavseelan commented Jan 22, 2018

Hey 👋

It's been a little over a year since MERN v2 was released. A lot has changed in the React landscape and it's about time we get back to this project to bring it up to speed with 2018. 😄

Progress on this project has been rather slow from our end due us focusing our efforts on development of Hashnode. While retrospecting our open-source contributions, the need for a new version of MERN came to light, as highlighted by the numerous issues and PR’s that have been raised over the past year to update the repository. We apologize for not getting to this sooner.

What's coming 📦

Here is a brief list of the features that we have in the pipeline for the 3.0:

  • Out of the box Yarn support
  • Bring base Node version to v8.x LTS, for all that async-await goodness 😋
  • Upgrade to Webpack 3 and move to babel-preset-env
  • Migrating to React 16.x
  • Moving from React Router v2 to v4
  • Have a simpler workflow so that you can start your project(s) with much more ease!

Have a request or suggestion? 💭

If you have any feature requests or suggestions, do leave them below and we'll see if we can bring it into 3.0 😄


Update

(27th May, 2018)
We're are looking for new maintainers… Read full update

@abinavseelan abinavseelan added this to the 3.0.0 milestone Jan 22, 2018
@mattlubner
Copy link
Contributor

Can we list "decrease start-up time while in development mode" as an official objective? The last point ("Have a simpler workflow so that you can start your project(s) with much more ease!") is a bit vague, and I'm not sure of what that means. It is currently very painful to do server side development in Mern (due to slow restarts), but I would like to see that change!

It would also be lovely to explore using a node require hook to potentially cache-bust JSX on the server side, or really any other way to eliminate the divergence that comes after many code changes, which require server restarts.

I would love to be more involved with and contribute to the Mern community, so please let us know how. Very happy to finally see activity here! 😀

@abinavseelan
Copy link
Author

Hey @mattlubner!

The point "Have a simpler workflow so that you can start your project(s) with much more ease!" is more of an umbrella term for things the community needs or might need to help in their development workflow. Once we've aggregated a list of things, we'll update the issue to highlight the specifics that you'd see in v3.0. This includes reducing server startup time, of course! 😄

Thanks for the suggestions! 🙂

@alexandru-tomescu
Copy link

Hi. You could add also a graphql implemententions, /gql/endpoints, this would be great !

@chrisLovesCode
Copy link

ready to use graphql crud with apollo would be realy nice

@carloscuatin
Copy link
Contributor

carloscuatin commented Jan 24, 2018

graphql is a example 🎉

@lordknight1904
Copy link

I am sorry if this might be a little bit out of topic.
But why MERN stack build time is much higher than MEAN (in server post-modified rebuild). This is quite time consuming.

@abinavseelan
Copy link
Author

@lordknight1904 We're actually looking into this and trying to revamp the build pipeline with v3.0. 🙂

@carloscuatin @chrisLovesCode @alexandru-tomescu

GraphQL sounds pretty exciting! We'll evaluate this and see how we can integrate GraphQL into MERN, without bloating the user experience for users who don't want it.

We have a couple of ideas on how we can manage this, and we're currently floating them around the office to get opinions. 😄

This was referenced Jan 30, 2018
@carloscuatin
Copy link
Contributor

@abinavseelan option flag with the mern-cli 👍

how can we help in the new version of mern ?

@kamalkrishna3000
Copy link

When can we expect new version of MERN ?

@kashishgrover kashishgrover mentioned this issue Feb 1, 2018
@lordknight1904
Copy link

Maybe add a default landing page.

@lucaskuan
Copy link

Can we start using the 3.0 branch? Cause we have a project that needs to kickstart now and may just use the latest version of MERN.

This was referenced Feb 5, 2018
@abinavseelan
Copy link
Author

@lucaskuan

Hey! 👋

I'm sorry. But it's not yet at a stable state to use I'm afraid. 😞 We are doing our best to see this version out as soon as a possible!

@v29neil
Copy link

v29neil commented Feb 6, 2018

Would love to have swagger/jsdoc support

@lucaskuan
Copy link

@abinavseelan I see, looking forward to have it ready. Will there be a huge migration trouble from 2.0 to 3.0?
Any tasks that we could contribute to make it happen faster?

@TeodorKolev
Copy link

How can I store image using this repo?

@TeodorKolev
Copy link

pm ERR! Failed at the mern-starter@3.0.0 start script 'NODE_ENV=production ./node_modules/.bin/nodemon server/index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mern-starter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=production ./node_modules/.bin/nodemon server/index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mern-starter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mern-starter
npm ERR! There is likely additional logging output above.

@antoniobrandao
Copy link

My 4 suggestions:

  • Ability to use decorators, eg. @connect for Redux.
  • Make the style loader compatible with both SASS and SCSS syntax.
  • Include something in the development config like xip.io or browserSync, which serves the site in the local network so we can test on our mobile devices.
  • ESLinter config based on Javascript Standard Style.

@mannyhenri
Copy link
Contributor

All the suggestions above are great but I'd suggest you focus on the main improvements/upgrade such as React V16+, Router V4, Yarn support and webpack latest versions and build other ideas as extensions. This way build times will be shorter and also GTM faster.

@antoniobrandao
Copy link

Webpack 4 is out. Build performance is so much faster it's worth a look.

@MiloshN
Copy link

MiloshN commented Mar 1, 2018

I hope in big MERN update, the official web page will use React. 💃 😄 😅

@ajile-in
Copy link

ajile-in commented Mar 2, 2018

Is this project still active? Haven't seen any commits or PRs merged since a month... Is any other branch being used?

@mm420admin
Copy link

Waiting for this...

@mannyhenri
Copy link
Contributor

@ashifa454 if you're trying to add react-router 4 right away, it might be better to postpone updating react-router as it will introduce many changes to the repo and might be a lot for a one man job. The plan is to get React 16.x and proptypes fix for 2.5, and leave React-router for V2.8. However, I'm not going to stop anyone if they're willing to tackle it all at once, but could be a pretty big task considering...just my 2 cents. Always best to tackle small pieces at a time ;)

For the introduction, @fazlerocks owns both the repo and slack channel and should get you in when he's got a chance.

@ashifa454
Copy link

ashifa454 commented Jun 8, 2018

@mannyhenri I have two confusions if you could help me with, so I migrated react 16 and propTypes, but it seems like react- router will need the earlier react, which include the PropTypes.
screen shot 2018-06-08 at 7 07 40 am

@mannyhenri
Copy link
Contributor

@ashifa454 ok and thanks for your work on it. I'll take a look at your PR tomorrow, and provide feedback. Most likely we'll end up merging to a separate branch and continue working on it.

@ashifa454
Copy link

@mannyhenri thankyou.

@ashifa454
Copy link

ashifa454 commented Jun 8, 2018

@mannyhenriI am getting an error while test, and it's possibly because of enzyme V3.x Migration
screen shot 2018-06-09 at 12 54 42 am

enzymejs/enzyme#1106

@mannyhenri
Copy link
Contributor

@ashifa454 have you had a chance to work further with the integration of React 16/proptypes?

@mannyhenri
Copy link
Contributor

@alexandru-tomescu @cosmicbuffalo @jayarnielsen @AndrewBestbier @rosariorussell any of you have some cycles to work on integrating React 16/proptypes? FYI most of the work will constitute in updating routes and most likely might end up updating also React-router to V4. Let me know.

@mannyhenri
Copy link
Contributor

@alexandru-tomescu feel free to do a PR if you've worked on it! ;)

@ashifa454
Copy link

@mannyhenri sorry I had some college exams but I am continuing it from today, also I have some silly doubts to clear, so will this discussion panel would be a place or should I mail you?

@mannyhenri
Copy link
Contributor

@ashifa454 you can either use this or create a new issue where we can discuss further.

@ashifa454
Copy link

I installed React 16.4.0 , Proptype (as separate NPM dependency https://www.npmjs.com/package/prop-types) and Changed Files accordingly
Now while Starting project I am getting an error

if those both problems and its explanation in place, so think we need to update react-router alongside with migrating it to react-16, otherwise guide me from here to the right path.

@mannyhenri
Copy link
Contributor

@ashifa454 you are right, we'll need to update React-router so let's head towards doing this. If you have cycles to work on this go for it, @mattlubner will help out this weekend. Also, feel free to take a look at #348 for references.

@ashifa454
Copy link

I am on it @mannyhenri, I have some ways to integrate it, let me give it a try and surely I will be needing help @mattlubner.

@mattlubner
Copy link
Contributor

@ashifa454 I'd suggest starting with upgrade/mern-v2.5.0 and updating to react-router v4 first, get that working, commit, and then tackle react v16.

@AlnoorKhan
Copy link

@fazlerocks I would like to contribute for this project.
Please add me.

@qiepeipei
Copy link

@abinavseelan I would like to contribute for this project.

@mannyhenri
Copy link
Contributor

All, we won't be adding new contributors for the time being, but feel free to create PRs and we'll add your names to the participating folks when we announce the new versions.

@pedrofurtado
Copy link

I'm looking forward to this new release! 👍

@mannyhenri
Copy link
Contributor

Of all the names below, who can help drive MERN 3.0 home? We'd like to be able to release this before the new year!!!

@pedrofurtado @qiepeipei @mattlubner @AlnoorKhan @ashifa454 @alexandru-tomescu @cosmicbuffalo @jayarnielsen @AndrewBestbier @rosariorussell , please let me know if you can help.

@ashifa454
Copy link

ashifa454 commented Oct 14, 2018 via email

@mannyhenri
Copy link
Contributor

@ashifa454 ok thanks buddy! Can you share the specifics of where you're at? Version you're working from and what you're working on?

@ashifa454
Copy link

ashifa454 commented Oct 14, 2018 via email

@mannyhenri
Copy link
Contributor

@ashifa254 awesome! Let me know if you have any questions or encountering issues.

@mattlubner
Copy link
Contributor

@mannyhenri I'd be happy to contribute code and PR's!

@mannyhenri
Copy link
Contributor

@ashifa454 we'll let you lead the 2.6 upgrade and if you need help or get stuck with React router 4 ping me or @mattlubner Also just to keep the conversation focused let's create a new discussion/issue for this upgrade instead of continuing on this thread.

@aaronfranke
Copy link

How's the progress on this? Is there an ETA? 2018 is almost over.

I'm wondering whether it's better to use MERN 2 or MERN 3 for my project.

@forresthopkinsa
Copy link

It's been a little over a year since MERN v2 was released. A lot has changed in the React landscape and it's about time we get back to this project to bring it up to speed with 2018.

We'd like to be able to release this before the new year!!!

Welp it's 2019 and it doesn't look like this is going anywhere

@russellr922
Copy link

@forresthopkinsa @aaronfranke Yeah I've been waiting for this as well. Might I suggest @feathersjs/cli and create-react-app as two alternatives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion v3.0.0 CLI/devtools optimization/improvements
Projects
MERN Roadmap
  
To do
Development

No branches or pull requests