Yes like a professional. You can't use CRA for production apps.
Edit: The comment above is misleading and i apologize for that. You can use CRA in production, but for me, CRA is just a quick prototyping tool that i don't use in production.
I do like your post a lot. But you're contradicting yourself. "You can't use CRA for production". Point taken. But then why "webpack-dev-server"? I understand your point completely, it just might send a wrong message.
Sorry for the contradiction Kevin. One thing about programming is that everyone has his preferences.
I don't use CRA for production but others do. My reasons include lack of flexibility, tons of unnecessary stuffs etc.
And let's be honest, how many real-world apps were built with CRA? Not that many.
Hot reload? Yarn start? Well, webpack-dev-server is actually what enables us to do that.
I thought these CLI toolchains (Angular, React, Vue, all have them) not only eased app bootstrapping, but also ensured optimization and best practices.
Don't get me wrong, I understand there are genuine configuration-related reasons to build from scratch. I also believe we all should know how to build our apps without CLI aid, as it serves not only to understand the whole process, but to debug potential issues too.
However, I am truly curious about why you think CRA should not be used for production. Would you say this also applies to Vue and Angular?
You can use CRA for real-world apps, but for me and most people i work with, tend to stay away from CRA in production. The reason is its lack of flexibility. You can make it flexible by ejecting and adding your stuff, but why?
I still use CRA and most of my toy projects are built using CRA.
In my perspective, CRA is very useful for quick prototyping, but for production, i'd build it from scratch.
My comment is misleading and i apologize for that.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes like a professional. You can't use CRA for production apps.
Edit: The comment above is misleading and i apologize for that. You can use CRA in production, but for me, CRA is just a quick prototyping tool that i don't use in production.
The react and vue cli tools are both leveraged for more production apps than you can imagine
Yes that's true and i apologize for my misleading comment.
No sweat, we're all here to learn together. Keep the articles coming!
That's the spirit of the DEV community! Openly admitting our mistakes, apologizing, and learning from each other.
Technicals aside, you're all amazing people. Keep it up!
I do like your post a lot. But you're contradicting yourself. "You can't use CRA for production". Point taken. But then why "webpack-dev-server"? I understand your point completely, it just might send a wrong message.
Sorry for the contradiction Kevin. One thing about programming is that everyone has his preferences.
I don't use CRA for production but others do. My reasons include lack of flexibility, tons of unnecessary stuffs etc.
And let's be honest, how many real-world apps were built with CRA? Not that many.
Hot reload? Yarn start? Well, webpack-dev-server is actually what enables us to do that.
Please, elaborate.
I thought these CLI toolchains (Angular, React, Vue, all have them) not only eased app bootstrapping, but also ensured optimization and best practices.
Don't get me wrong, I understand there are genuine configuration-related reasons to build from scratch. I also believe we all should know how to build our apps without CLI aid, as it serves not only to understand the whole process, but to debug potential issues too.
However, I am truly curious about why you think CRA should not be used for production. Would you say this also applies to Vue and Angular?
You can use CRA for real-world apps, but for me and most people i work with, tend to stay away from CRA in production. The reason is its lack of flexibility. You can make it flexible by ejecting and adding your stuff, but why?
I still use CRA and most of my toy projects are built using CRA.
In my perspective, CRA is very useful for quick prototyping, but for production, i'd build it from scratch.
My comment is misleading and i apologize for that.