TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Don't Eject Your Create React App

24 点作者 level超过 6 年前

6 条评论

ardfie超过 6 年前
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 未加载
ng12超过 6 年前
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 未加载
JustinBrown超过 6 年前
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.
hyfgfh超过 6 年前
Don&#x27;t even use create react app
评论 #18933443 未加载
tbirrell超过 6 年前
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 未加载
ojhughes超过 6 年前
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 未加载