TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Don't Eject Your Create React App

24 pointsby levelover 6 years ago

6 comments

ardfieover 6 years ago
What I got when I followed the link<p><a href="http:&#x2F;&#x2F;imgur.com&#x2F;3gcROaQ" rel="nofollow">http:&#x2F;&#x2F;imgur.com&#x2F;3gcROaQ</a><p>Medium is shockingly bad. I see absolutely no value in this service any more.
评论 #18932531 未加载
ng12over 6 years ago
I just wish CRA would give me a hook to touch the webpack configs. I&#x27;m willing to bite the pain of needing to rewrite my custom configs if they move to something else.<p>Simple example: with webpack it&#x27;s trivial to configure it to load env-specific extensions. You can have foo.js, foo.dev.js, and foo.mock.js and it will import the correct one automatically based on an env variable. It&#x27;s three lines of code that I use in all my React projects and it&#x27;s honestly enough to keep me away from CRA.
评论 #18932853 未加载
JustinBrownover 6 years ago
Agreed. It&#x27;s becoming harder and harder to justify managing your own React pipeline, even in the rare cases where something might be missing that I want included.
hyfgfhover 6 years ago
Don&#x27;t even use create react app
评论 #18933443 未加载
tbirrellover 6 years ago
Can someone explain what ejection is? I&#x27;m not familiar with this terminology. How is it different from say, editing your package.json or webpack.mix.js files?
评论 #18933802 未加载
ojhughesover 6 years ago
It really blows my mind that the latest, greatest technology is so difficult to work with it requires a meta-tool manage the process.
评论 #18933006 未加载